diff options
author | Not Zed <NotZed@Ximian.com> | 2005-01-05 12:54:42 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-01-05 12:54:42 +0800 |
commit | 19e2fea988754f3f4f43667e30463bd7fd4e18cc (patch) | |
tree | 46b9ff2b9b97ad4975283906f1c3033fe03bfe61 /mail/em-composer-utils.c | |
parent | e6167ecdd056fb748d2132480378acbdee7de4a9 (diff) | |
download | gsoc2013-evolution-19e2fea988754f3f4f43667e30463bd7fd4e18cc.tar.gz gsoc2013-evolution-19e2fea988754f3f4f43667e30463bd7fd4e18cc.tar.zst gsoc2013-evolution-19e2fea988754f3f4f43667e30463bd7fd4e18cc.zip |
handle the "reply" parameter, if set.
2005-01-05 Not Zed <NotZed@Ximian.com>
* mail-component.c (handleuri_got_folder): handle the "reply"
parameter, if set.
* em-composer-utils.c (em_utils_reply_to_message): only ref the
source if supplied.
(reply_to_message): only unref the source if supplied.
svn path=/trunk/; revision=28241
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r-- | mail/em-composer-utils.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 691354af97..5653107082 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -1717,7 +1717,8 @@ reply_to_message(CamelFolder *folder, const char *uid, CamelMimeMessage *message if (message != NULL) em_utils_reply_to_message(folder, uid, message, rd->mode, rd->source); - g_object_unref(rd->source); + if (rd->source) + g_object_unref(rd->source); g_free(rd); } @@ -1754,7 +1755,8 @@ em_utils_reply_to_message(CamelFolder *folder, const char *uid, CamelMimeMessage rd->mode = mode; rd->source = source; - g_object_ref(rd->source); + if (rd->source) + g_object_ref(rd->source); mail_get_message(folder, uid, reply_to_message, rd, mail_thread_new); return; |