diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-15 20:28:37 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-15 20:28:37 +0800 |
commit | 1dea0429cf1cc8cebbdea9ca6d2321496e48aebb (patch) | |
tree | c8c2cc5de6f15757ab29189733ec01a63f672ab4 | |
parent | 3f39ab5f599a93af0ee6b8066a5a877472e5d66b (diff) | |
download | gsoc2013-evolution-1dea0429cf1cc8cebbdea9ca6d2321496e48aebb.tar gsoc2013-evolution-1dea0429cf1cc8cebbdea9ca6d2321496e48aebb.tar.gz gsoc2013-evolution-1dea0429cf1cc8cebbdea9ca6d2321496e48aebb.tar.bz2 gsoc2013-evolution-1dea0429cf1cc8cebbdea9ca6d2321496e48aebb.tar.lz gsoc2013-evolution-1dea0429cf1cc8cebbdea9ca6d2321496e48aebb.tar.xz gsoc2013-evolution-1dea0429cf1cc8cebbdea9ca6d2321496e48aebb.tar.zst gsoc2013-evolution-1dea0429cf1cc8cebbdea9ca6d2321496e48aebb.zip |
Remove em_utils_uids_free().
No longer used. We actually had this defined in two places.
-rw-r--r-- | libemail-engine/e-mail-utils.c | 17 | ||||
-rw-r--r-- | libemail-engine/e-mail-utils.h | 1 | ||||
-rw-r--r-- | mail/em-utils.c | 17 |
3 files changed, 0 insertions, 35 deletions
diff --git a/libemail-engine/e-mail-utils.c b/libemail-engine/e-mail-utils.c index b65fbc32dd..7ebb8f952e 100644 --- a/libemail-engine/e-mail-utils.c +++ b/libemail-engine/e-mail-utils.c @@ -676,23 +676,6 @@ em_utils_ref_mail_identity_for_store (ESourceRegistry *registry, return source; } -/** - * em_utils_uids_free: - * @uids: array of uids - * - * Frees the array of uids pointed to by @uids back to the system. - **/ -void -em_utils_uids_free (GPtrArray *uids) -{ - gint i; - - for (i = 0; i < uids->len; i++) - g_free (uids->pdata[i]); - - g_ptr_array_free (uids, TRUE); -} - /* Returns TRUE if CamelURL points to a local mbox file. */ gboolean em_utils_is_local_delivery_mbox_file (CamelURL *url) diff --git a/libemail-engine/e-mail-utils.h b/libemail-engine/e-mail-utils.h index dbe6fb6846..f7708d9345 100644 --- a/libemail-engine/e-mail-utils.h +++ b/libemail-engine/e-mail-utils.h @@ -70,7 +70,6 @@ ESource * em_utils_guess_mail_identity_with_recipients_and_sort ESource * em_utils_ref_mail_identity_for_store (ESourceRegistry *registry, CamelStore *store); -void em_utils_uids_free (GPtrArray *uids); gboolean em_utils_is_local_delivery_mbox_file (CamelURL *url); diff --git a/mail/em-utils.c b/mail/em-utils.c index 0c51d14351..08446c1eaf 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -159,23 +159,6 @@ em_utils_prompt_user (GtkWindow *parent, return button == GTK_RESPONSE_YES; } -/** - * em_utils_uids_free: - * @uids: array of uids - * - * Frees the array of uids pointed to by @uids back to the system. - **/ -void -em_utils_uids_free (GPtrArray *uids) -{ - gint i; - - for (i = 0; i < uids->len; i++) - g_free (uids->pdata[i]); - - g_ptr_array_free (uids, TRUE); -} - /* Editing Filters/Search Folders... */ static GtkWidget *filter_editor = NULL; |