diff options
author | Jonathon Jongsma <jonathon@quotidian.org> | 2009-11-25 07:35:39 +0800 |
---|---|---|
committer | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-01 03:31:19 +0800 |
commit | ae906bbae5b053fad7f5425c242530e33f589f68 (patch) | |
tree | 31b46cdbdd341dadcdbd857fb0fabc3e87a798ec /mail/mail-session.c | |
parent | ac1f847f7b40b3a0f6ed00dedd2eb2b0f23b5027 (diff) | |
download | gsoc2013-evolution-ae906bbae5b053fad7f5425c242530e33f589f68.tar.gz gsoc2013-evolution-ae906bbae5b053fad7f5425c242530e33f589f68.tar.zst gsoc2013-evolution-ae906bbae5b053fad7f5425c242530e33f589f68.zip |
port mail/ to use new EError API
https://bugzilla.gnome.org/show_bug.cgi?id=602963
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r-- | mail/mail-session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c index 14aec15866..ee035c7a6f 100644 --- a/mail/mail-session.c +++ b/mail/mail-session.c @@ -352,7 +352,7 @@ user_message_exec (struct _user_message_msg *m) g_return_if_reached (); } - user_message_dialog = e_error_new ( + user_message_dialog = e_error_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_count_buttons (user_message_dialog) > 1) { + if (e_error_dialog_count_buttons (user_message_dialog) > 1) { if (m->ismain) { gint response; |