diff options
Diffstat (limited to 'plugins/groupwise-features/junk-mail-settings.c')
-rw-r--r-- | plugins/groupwise-features/junk-mail-settings.c | 7 |
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, |