aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-attachment-handler-image.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-attachment-handler-image.c')
-rw-r--r--e-util/e-attachment-handler-image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-attachment-handler-image.c b/e-util/e-attachment-handler-image.c
index 602f001ba6..f4b35e354b 100644
--- a/e-util/e-attachment-handler-image.c
+++ b/e-util/e-attachment-handler-image.c
@@ -173,7 +173,7 @@ attachment_handler_image_update_actions_cb (EAttachmentView *view,
if (e_attachment_get_saving (attachment))
goto exit;
- mime_type = e_attachment_get_mime_type (attachment);
+ mime_type = e_attachment_dup_mime_type (attachment);
visible =
(mime_type != NULL) &&
(g_ascii_strncasecmp (mime_type, "image/", 6) == 0);