aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-02 00:57:32 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-02 04:01:14 +0800
commit76fbb9d23242cba427d71ded5590a9cad271b2b3 (patch)
tree8455d618023e0e82209e610868c9a43fbf41c00e /plugins/groupwise-features
parenta0b641b7c6160bfda32ed2bcef40a364973a934b (diff)
downloadgsoc2013-evolution-76fbb9d23242cba427d71ded5590a9cad271b2b3.tar.gz
gsoc2013-evolution-76fbb9d23242cba427d71ded5590a9cad271b2b3.tar.zst
gsoc2013-evolution-76fbb9d23242cba427d71ded5590a9cad271b2b3.zip
Kill message_list_free_uids().
Use em_utils_uids_free() instead.
Diffstat (limited to 'plugins/groupwise-features')
-rw-r--r--plugins/groupwise-features/gw-ui.c3
-rw-r--r--plugins/groupwise-features/mail-retract.c3
-rw-r--r--plugins/groupwise-features/status-track.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/plugins/groupwise-features/gw-ui.c b/plugins/groupwise-features/gw-ui.c
index 6a79cd3b0f..4a33a692cd 100644
--- a/plugins/groupwise-features/gw-ui.c
+++ b/plugins/groupwise-features/gw-ui.c
@@ -26,6 +26,7 @@
#include <mail/e-mail-reader.h>
#include <mail/em-folder-tree.h>
#include <mail/em-folder-tree-model.h>
+#include <mail/em-utils.h>
#include <mail/message-list.h>
#include <calendar/gui/e-calendar-view.h>
@@ -215,7 +216,7 @@ update_mmp_entries_cb (EShellView *shell_view, gpointer user_data)
if (selected)
n_selected = selected->len;
- message_list_free_uids (MESSAGE_LIST (message_list), selected);
+ em_utils_uids_free (selected);
visible = n_selected > 0;
}
diff --git a/plugins/groupwise-features/mail-retract.c b/plugins/groupwise-features/mail-retract.c
index 01bf11c6fe..adb97e250e 100644
--- a/plugins/groupwise-features/mail-retract.c
+++ b/plugins/groupwise-features/mail-retract.c
@@ -32,6 +32,7 @@
#include <e-util/e-alert.h>
#include <mail/e-mail-reader.h>
+#include <mail/em-utils.h>
#include <mail/message-list.h>
#include "gw-ui.h"
@@ -57,7 +58,7 @@ get_selected_info (EShellView *shell_view, CamelFolder **folder, gchar **selecte
*selected_uid = g_strdup (g_ptr_array_index (selected, 0));
}
- message_list_free_uids (MESSAGE_LIST (message_list), selected);
+ em_utils_uids_free (selected);
return *selected_uid != NULL;
}
diff --git a/plugins/groupwise-features/status-track.c b/plugins/groupwise-features/status-track.c
index 45d0a206c6..018e69261a 100644
--- a/plugins/groupwise-features/status-track.c
+++ b/plugins/groupwise-features/status-track.c
@@ -38,6 +38,7 @@
#include <camel/camel-mime-message.h>
#include <mail/e-mail-reader.h>
+#include <mail/em-utils.h>
#include <mail/message-list.h>
#include <e-gw-connection.h>
@@ -81,7 +82,7 @@ get_selected_message (EShellView *shell_view, CamelFolder **folder, gchar **sele
msg = camel_folder_get_message (*folder, *selected_uid, NULL);
}
- message_list_free_uids (MESSAGE_LIST (message_list), selected);
+ em_utils_uids_free (selected);
return msg;
}