[evolution] Remove em_utils_uids_copy().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove em_utils_uids_copy().
- Date: Sat, 15 Jun 2013 13:00:58 +0000 (UTC)
commit 3f39ab5f599a93af0ee6b8066a5a877472e5d66b
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Jun 15 08:27:48 2013 -0400
Remove em_utils_uids_copy().
No longer used.
mail/em-utils.c | 25 -------------------------
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 8d3a257..0c51d14 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 e857b26..4fe771a 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]