[evolution] EMsgComposer - Correctly open messages when editing them as new



commit 9e25eb1f08744da2c25e5f49ec2a9cc2c4e74d1d
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Oct 17 13:11:06 2014 +0200

    EMsgComposer - Correctly open messages when editing them as new
    
    Initialize the is_from_draft variable before using it.

 composer/e-msg-composer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index a2c9037..801ab37 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -3277,7 +3277,7 @@ e_msg_composer_new_with_message (EShell *shell,
        struct _camel_header_raw *xev;
        gchar *identity_uid;
        gint len, i;
-       gboolean is_from_draft;
+       gboolean is_from_draft = FALSE;
 
        g_return_val_if_fail (E_IS_SHELL (shell), NULL);
 


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