[evolution/wip/webkit2] Correct order of "assign value" and "call function" when saving to drafts



commit 3176b712b4b8e906a58453be95f9134956f0c6a9
Author: Milan Crha <mcrha redhat com>
Date:   Fri Aug 5 09:15:43 2016 +0200

    Correct order of "assign value" and "call function" when saving to drafts

 mail/em-composer-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index 3088016..b025f4e 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -1114,8 +1114,8 @@ em_utils_composer_save_to_drafts_cb (EMsgComposer *composer,
                session, E_MAIL_LOCAL_FOLDER_DRAFTS);
 
        if (drafts_folder_uri == NULL) {
-               composer_save_to_drafts_append_mail (async_context, NULL);
                async_context->folder_uri = g_strdup (local_drafts_folder_uri);
+               composer_save_to_drafts_append_mail (async_context, NULL);
        } else {
                GCancellable *cancellable;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]