diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-15 20:19:27 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-15 20:19:27 +0800 |
commit | f642e03d4967c80aaad45475475752264c95de5c (patch) | |
tree | 23b2f4e862f73b86e13f92c433b8315d783b1d2e /mail/em-utils.c | |
parent | 2f43685f591581bc7ad051ac6464799f8e5df5bf (diff) | |
download | gsoc2013-evolution-f642e03d4967c80aaad45475475752264c95de5c.tar gsoc2013-evolution-f642e03d4967c80aaad45475475752264c95de5c.tar.gz gsoc2013-evolution-f642e03d4967c80aaad45475475752264c95de5c.tar.bz2 gsoc2013-evolution-f642e03d4967c80aaad45475475752264c95de5c.tar.lz gsoc2013-evolution-f642e03d4967c80aaad45475475752264c95de5c.tar.xz gsoc2013-evolution-f642e03d4967c80aaad45475475752264c95de5c.tar.zst gsoc2013-evolution-f642e03d4967c80aaad45475475752264c95de5c.zip |
message_list_get_selected: Give the returned array a free func.
The returned UID array now has a built-in "free" function for its
elements and should be released by callers with g_ptr_array_unref()
rather than em_utils_uids_free() or some equivalent.
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r-- | mail/em-utils.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c index 103ed62b1a..16a0d677ae 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -431,9 +431,6 @@ em_utils_flag_for_followup (EMailReader *reader, e_mail_display_reload (display); exit: - /* XXX We shouldn't be freeing this. */ - em_utils_uids_free (uids); - gtk_widget_destroy (GTK_WIDGET (editor)); } @@ -470,8 +467,6 @@ em_utils_flag_for_followup_clear (GtkWindow *parent, } camel_folder_thaw (folder); - - em_utils_uids_free (uids); } /** @@ -514,8 +509,6 @@ em_utils_flag_for_followup_completed (GtkWindow *parent, camel_folder_thaw (folder); g_free (now); - - em_utils_uids_free (uids); } /* This kind of sucks, because for various reasons most callers need to run |