aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r--mail/mail-mt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index 8e507e46fc..21471c5108 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -27,6 +27,7 @@
#include <libedataserver/e-flag.h>
+#include <e-util/e-alert-sink.h>
#include <shell/e-shell-view.h>
#include "mail-mt.h"
@@ -252,13 +253,13 @@ mail_msg_check_error (gpointer msg)
if (m->info->desc && (what = m->info->desc (m))) {
e_alert_submit (
- GTK_WIDGET (shell_content),
+ E_ALERT_SINK (shell_content),
"mail:async-error", what,
m->error->message, NULL);
g_free (what);
} else
e_alert_submit (
- GTK_WIDGET (shell_content),
+ E_ALERT_SINK (shell_content),
"mail:async-error-nodescribe",
m->error->message, NULL);
}