diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-15 20:27:48 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-15 20:27:48 +0800 |
commit | 3f39ab5f599a93af0ee6b8066a5a877472e5d66b (patch) | |
tree | 078d7d49c3331f9983fb0d56a38b8b808b69d316 /mail | |
parent | 9311500db857b2427322733ef4b20cedca00ad9e (diff) | |
download | gsoc2013-evolution-3f39ab5f599a93af0ee6b8066a5a877472e5d66b.tar.gz gsoc2013-evolution-3f39ab5f599a93af0ee6b8066a5a877472e5d66b.tar.zst gsoc2013-evolution-3f39ab5f599a93af0ee6b8066a5a877472e5d66b.zip |
Remove em_utils_uids_copy().
No longer used.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/em-utils.c | 25 | ||||
-rw-r--r-- | mail/em-utils.h | 2 |
2 files changed, 0 insertions, 27 deletions
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 @@ -160,31 +160,6 @@ em_utils_prompt_user (GtkWindow *parent, } /** - * 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); |