aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-attachment.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/misc/e-attachment.c b/widgets/misc/e-attachment.c
index 44bf29c202..1fec792d7d 100644
--- a/widgets/misc/e-attachment.c
+++ b/widgets/misc/e-attachment.c
@@ -1699,12 +1699,12 @@ attachment_load_query_info_cb (GFile *file,
cancellable = attachment->priv->cancellable;
file_info = g_file_query_info_finish (file, result, &error);
- attachment_set_file_info (attachment, file_info);
- load_context->file_info = file_info;
-
if (attachment_load_check_for_error (load_context, error))
return;
+ attachment_set_file_info (attachment, file_info);
+ load_context->file_info = file_info;
+
load_context->total_num_bytes = g_file_info_get_size (file_info);
g_file_read_async (