From d94534c3673956164f9fb2c7f6b12188994503ae Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 30 Nov 2009 14:46:26 -0500 Subject: Merge bits and pieces of the anjal-evo-2-30 branch. --- plugins/mail-to-task/mail-to-task.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/mail-to-task') diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c index a90731e2fc..6b79b78e94 100644 --- a/plugins/mail-to-task/mail-to-task.c +++ b/plugins/mail-to-task/mail-to-task.c @@ -50,6 +50,7 @@ #include #include #include +#include #include #include #include @@ -925,7 +926,7 @@ mail_to_event (ECalSourceType source_type, gboolean with_attendees, EMailReader *reader) { - MessageList *message_list; + GtkWidget *message_list; CamelFolder *folder; GPtrArray *selected; ESourceList *source_list = NULL; @@ -935,8 +936,8 @@ mail_to_event (ECalSourceType source_type, GError *error = NULL; message_list = e_mail_reader_get_message_list (reader); - selected = message_list_get_selected (message_list); - folder = message_list->folder; + selected = message_list_get_selected (MESSAGE_LIST (message_list)); + folder = MESSAGE_LIST (message_list)->folder; if (!e_cal_get_sources (&source_list, source_type, &error)) { e_notice (NULL, GTK_MESSAGE_ERROR, _("Cannot get source list. %s"), error ? error->message : _("Unknown error.")); -- cgit