aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-junk-hook.c
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-12-08 00:19:37 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-08 02:25:23 +0800
commit31204c9cc21ec32c8006124cf18763161daa99d2 (patch)
tree7e2173da211f3e844172ea0dbdfb0e87638d8e85 /modules/mail/e-mail-junk-hook.c
parentf20528381a13299e8d160195d4b731e10b7ed437 (diff)
downloadgsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.tar.gz
gsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.tar.zst
gsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.zip
Port all error code to use GObject-ified EAlert / EAlertDialog
The changes are mainly including the e-alert-header.h header instead of just e-alert.h. This allows us to include e-alert.h in non-UI situations when necessary.
Diffstat (limited to 'modules/mail/e-mail-junk-hook.c')
-rw-r--r--modules/mail/e-mail-junk-hook.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mail/e-mail-junk-hook.c b/modules/mail/e-mail-junk-hook.c
index 47637eb1d4..ccdcf0c97e 100644
--- a/modules/mail/e-mail-junk-hook.c
+++ b/modules/mail/e-mail-junk-hook.c
@@ -24,7 +24,7 @@
#include <glib/gi18n.h>
#include <camel/camel-junk-plugin.h>
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "shell/e-shell.h"
#include "mail/em-junk.h"
@@ -52,7 +52,7 @@ mail_junk_hook_idle_cb (struct ErrorData *data)
{
GtkWidget *widget;
- widget = e_alert_new_dialog_for_args (e_shell_get_active_window (NULL),
+ widget = e_alert_dialog_new_for_args (e_shell_get_active_window (NULL),
data->error_message, data->error->message, NULL);
em_utils_show_error_silent (widget);