From 1dea0429cf1cc8cebbdea9ca6d2321496e48aebb Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 15 Jun 2013 08:28:37 -0400 Subject: Remove em_utils_uids_free(). No longer used. We actually had this defined in two places. --- libemail-engine/e-mail-utils.c | 17 ----------------- libemail-engine/e-mail-utils.h | 1 - 2 files changed, 18 deletions(-) (limited to 'libemail-engine') 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); -- cgit v1.2.3