X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fgtk-glade%2Fmodest-ui.c;h=ba5a004f928c7251d3e4653f6a1686d23150c4c9;hp=f50eae3a9c43b3628e887398761db30c5a51cc6d;hb=674685c46e0ffd6a061f21930a1a33e5f579fa91;hpb=66cbde1d323880b8266db406de30b5ed81817250 diff --git a/src/gtk-glade/modest-ui.c b/src/gtk-glade/modest-ui.c index f50eae3..ba5a004 100644 --- a/src/gtk-glade/modest-ui.c +++ b/src/gtk-glade/modest-ui.c @@ -85,7 +85,7 @@ struct _ModestUIPrivate { ModestWindowMgr *modest_window_mgr; TnyAccountStoreIface *account_store; - GtkWindow *main_window; + GtkWindow *main_window; GladeXML *glade_xml; @@ -655,8 +655,7 @@ reply_to_msg (ModestUI *modest_ui, TnyMsgHeaderIface *header, const TnyMsgFolderIface *folder; GString *re_sub; const gchar *subject, *from; - GtkTextBuffer *unquoted; - gchar *quoted; + gchar *unquoted, *quoted; time_t sent_date; gint line_limit = 76; @@ -687,8 +686,7 @@ reply_to_msg (ModestUI *modest_ui, TnyMsgHeaderIface *header, modest_ui_show_edit_window (modest_ui, from, /* cc */ "", /* bcc */ "", re_sub->str, quoted, NULL); g_free(quoted); - if (unquoted != NULL) - g_object_unref(unquoted); + g_free(unquoted); g_string_free(re_sub, TRUE); }