aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-15 19:18:20 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-15 19:18:20 +0800
commit4c8944c611c4980cea014575729cbc06b5138196 (patch)
tree8239d2f9588ab0001cdd2f027f9d50dce725a637
parent053aaed67844350a105290c6e658b59685b1768e (diff)
downloadgsoc2013-evolution-4c8944c611c4980cea014575729cbc06b5138196.tar
gsoc2013-evolution-4c8944c611c4980cea014575729cbc06b5138196.tar.gz
gsoc2013-evolution-4c8944c611c4980cea014575729cbc06b5138196.tar.bz2
gsoc2013-evolution-4c8944c611c4980cea014575729cbc06b5138196.tar.lz
gsoc2013-evolution-4c8944c611c4980cea014575729cbc06b5138196.tar.xz
gsoc2013-evolution-4c8944c611c4980cea014575729cbc06b5138196.tar.zst
gsoc2013-evolution-4c8944c611c4980cea014575729cbc06b5138196.zip
Remove unused message_list_get_uids().
-rw-r--r--mail/message-list.c22
-rw-r--r--mail/message-list.h1
2 files changed, 0 insertions, 23 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 80b35c9d01..c69e7396f7 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -4426,28 +4426,6 @@ ml_getselected_cb (ETreePath path,
}
GPtrArray *
-message_list_get_uids (MessageList *ml)
-{
- CamelFolder *folder;
-
- struct _ml_selected_data data = {
- ml,
- g_ptr_array_new ()
- };
-
- e_tree_path_foreach (E_TREE (ml), ml_getselected_cb, &data);
-
- folder = message_list_ref_folder (ml);
-
- if (folder != NULL && data.uids->len > 0)
- camel_folder_sort_uids (folder, data.uids);
-
- g_clear_object (&folder);
-
- return data.uids;
-}
-
-GPtrArray *
message_list_get_selected (MessageList *ml)
{
CamelFolder *folder;
diff --git a/mail/message-list.h b/mail/message-list.h
index e633e20b57..06950fe943 100644
--- a/mail/message-list.h
+++ b/mail/message-list.h
@@ -178,7 +178,6 @@ void message_list_set_thread_subject (MessageList *message_list,
gboolean thread_subject);
void message_list_freeze (MessageList *message_list);
void message_list_thaw (MessageList *message_list);
-GPtrArray * message_list_get_uids (MessageList *message_list);
GPtrArray * message_list_get_selected (MessageList *message_list);
void message_list_set_selected (MessageList *message_list,
GPtrArray *uids);