From 3f39ab5f599a93af0ee6b8066a5a877472e5d66b Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 15 Jun 2013 08:27:48 -0400 Subject: Remove em_utils_uids_copy(). No longer used. --- mail/em-utils.c | 25 ------------------------- mail/em-utils.h | 2 -- 2 files changed, 27 deletions(-) (limited to 'mail') diff --git a/mail/em-utils.c b/mail/em-utils.c index 8d3a25758e..0c51d14351 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -159,31 +159,6 @@ em_utils_prompt_user (GtkWindow *parent, return button == GTK_RESPONSE_YES; } -/** - * em_utils_uids_copy: - * @uids: array of uids - * - * Duplicates the array of uids held by @uids into a new - * GPtrArray. Use em_utils_uids_free() to free the resultant uid - * array. - * - * Returns a duplicate copy of @uids. - **/ -GPtrArray * -em_utils_uids_copy (GPtrArray *uids) -{ - GPtrArray *copy; - gint i; - - copy = g_ptr_array_new (); - g_ptr_array_set_size (copy, uids->len); - - for (i = 0; i < uids->len; i++) - copy->pdata[i] = g_strdup (uids->pdata[i]); - - return copy; -} - /** * em_utils_uids_free: * @uids: array of uids diff --git a/mail/em-utils.h b/mail/em-utils.h index e857b2665a..4fe771a4c1 100644 --- a/mail/em-utils.h +++ b/mail/em-utils.h @@ -40,8 +40,6 @@ struct _EMailPartList; gboolean em_utils_ask_open_many (GtkWindow *parent, gint how_many); gboolean em_utils_prompt_user (GtkWindow *parent, const gchar *promptkey, const gchar *tag, ...); -GPtrArray *em_utils_uids_copy (GPtrArray *uids); - void em_utils_edit_filters (EMailSession *session, EAlertSink *alert_sink, GtkWindow *parent_window); -- cgit