diff options
-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; |