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 ------------------------- 1 file changed, 25 deletions(-) (limited to 'mail/em-utils.c') 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 -- cgit v1.2.3