aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/junk-mail-settings.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/junk-mail-settings.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/junk-mail-settings.c')
-rw-r--r--plugins/groupwise-features/junk-mail-settings.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/groupwise-features/junk-mail-settings.c b/plugins/groupwise-features/junk-mail-settings.c
index fe82ccb4d5..4fc4b735c0 100644
--- a/plugins/groupwise-features/junk-mail-settings.c
+++ b/plugins/groupwise-features/junk-mail-settings.c
@@ -30,6 +30,7 @@
#include <gtk/gtk.h>
#include <mail/e-mail-reader.h>
+#include <mail/message-list.h>
#include <e-gw-connection.h>
@@ -67,16 +68,16 @@ gw_junk_mail_settings_cb (GtkAction *action, EShellView *shell_view)
gchar *msg;
EShellContent *shell_content;
EMailReader *reader;
- MessageList *message_list;
+ GtkWidget *message_list;
shell_content = e_shell_view_get_shell_content (shell_view);
reader = (EMailReader *) (shell_content);
message_list = e_mail_reader_get_message_list (reader);
g_return_if_fail (message_list != NULL);
- g_return_if_fail (message_list->folder != NULL);
+ g_return_if_fail (MESSAGE_LIST (message_list)->folder != NULL);
- cnc = get_cnc (message_list->folder->parent_store);
+ cnc = get_cnc (MESSAGE_LIST (message_list)->folder->parent_store);
dialog = gtk_dialog_new_with_buttons (_("Junk Settings"),
NULL,