diff options
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r-- | mail/mail-session.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c index ee035c7a6f..92bb551458 100644 --- a/mail/mail-session.c +++ b/mail/mail-session.c @@ -45,7 +45,7 @@ #include <camel/camel-i18n.h> #include "e-util/e-util.h" -#include "e-util/e-error.h" +#include "e-util/e-alert.h" #include "e-util/e-util-private.h" #include "e-account-combo-box.h" #include "shell/e-shell.h" @@ -352,7 +352,7 @@ user_message_exec (struct _user_message_msg *m) g_return_if_reached (); } - user_message_dialog = e_error_new_dialog_for_args ( + user_message_dialog = e_alert_new_dialog_for_args ( e_shell_get_active_window (NULL), error_type, m->prompt, NULL); g_object_set ( user_message_dialog, "allow_shrink", TRUE, @@ -362,7 +362,7 @@ user_message_exec (struct _user_message_msg *m) * emit a status bar message or present the dialog immediately, the * thought being if there's more than one button then something is * probably blocked until the user responds. */ - if (e_error_dialog_count_buttons (user_message_dialog) > 1) { + if (e_alert_dialog_count_buttons (user_message_dialog) > 1) { if (m->ismain) { gint response; |