[evolution] Remove em_utils_uids_free().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove em_utils_uids_free().
- Date: Sat, 15 Jun 2013 13:01:03 +0000 (UTC)
commit 1dea0429cf1cc8cebbdea9ca6d2321496e48aebb
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Jun 15 08:28:37 2013 -0400
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 -
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 b65fbc3..7ebb8f9 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 dbe6fb6..f7708d9 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 0c51d14..08446c1 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]