aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/status-track.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-01 03:46:26 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-01 07:34:38 +0800
commitd94534c3673956164f9fb2c7f6b12188994503ae (patch)
treec26a8a2edb293478b2ad43e36de5feebaf84ce1d /plugins/groupwise-features/status-track.c
parent420a4ccb20825d618b06c6be742c2c47cc15ca71 (diff)
downloadgsoc2013-evolution-d94534c3673956164f9fb2c7f6b12188994503ae.tar
gsoc2013-evolution-d94534c3673956164f9fb2c7f6b12188994503ae.tar.gz
gsoc2013-evolution-d94534c3673956164f9fb2c7f6b12188994503ae.tar.bz2
gsoc2013-evolution-d94534c3673956164f9fb2c7f6b12188994503ae.tar.lz
gsoc2013-evolution-d94534c3673956164f9fb2c7f6b12188994503ae.tar.xz
gsoc2013-evolution-d94534c3673956164f9fb2c7f6b12188994503ae.tar.zst
gsoc2013-evolution-d94534c3673956164f9fb2c7f6b12188994503ae.zip
Merge bits and pieces of the anjal-evo-2-30 branch.
Diffstat (limited to 'plugins/groupwise-features/status-track.c')
-rw-r--r--plugins/groupwise-features/status-track.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/groupwise-features/status-track.c b/plugins/groupwise-features/status-track.c
index e38497823b..45d0a206c6 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/message-list.h>
#include <e-gw-connection.h>
@@ -63,7 +64,7 @@ get_selected_message (EShellView *shell_view, CamelFolder **folder, gchar **sele
CamelMimeMessage *msg = NULL;
EShellContent *shell_content;
EMailReader *reader;
- MessageList *message_list;
+ GtkWidget *message_list;
GPtrArray *selected;
shell_content = e_shell_view_get_shell_content (shell_view);
@@ -72,15 +73,15 @@ get_selected_message (EShellView *shell_view, CamelFolder **folder, gchar **sele
message_list = e_mail_reader_get_message_list (reader);
g_return_val_if_fail (message_list != NULL, NULL);
- selected = message_list_get_selected (message_list);
+ selected = message_list_get_selected (MESSAGE_LIST (message_list));
if (selected && selected->len == 1) {
- *folder = message_list->folder;
+ *folder = MESSAGE_LIST (message_list)->folder;
*selected_uid = g_strdup (g_ptr_array_index (selected, 0));
msg = camel_folder_get_message (*folder, *selected_uid, NULL);
}
- message_list_free_uids (message_list, selected);
+ message_list_free_uids (MESSAGE_LIST (message_list), selected);
return msg;
}