diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-24 23:02:59 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:19 +0800 |
commit | 672132f8a0098b029cf999f79b605058ee8796d1 (patch) | |
tree | 2b7f595151b54577ae6b4d4ccc494efdc58b10a2 /mail/e-mail-sidebar.c | |
parent | 8decdbc4cb82c5cda0df7f5f251832f3e8f06e4f (diff) | |
download | gsoc2013-evolution-672132f8a0098b029cf999f79b605058ee8796d1.tar.gz gsoc2013-evolution-672132f8a0098b029cf999f79b605058ee8796d1.tar.zst gsoc2013-evolution-672132f8a0098b029cf999f79b605058ee8796d1.zip |
EMFolderTree: Add an EAlertSink property.
Now EMFolderTree has access to both an EShellBackend and an EAlertSink;
everything it needs to build and submit EActivity instances.
Diffstat (limited to 'mail/e-mail-sidebar.c')
-rw-r--r-- | mail/e-mail-sidebar.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/e-mail-sidebar.c b/mail/e-mail-sidebar.c index 80043f035a..45d16a8be1 100644 --- a/mail/e-mail-sidebar.c +++ b/mail/e-mail-sidebar.c @@ -473,12 +473,16 @@ e_mail_sidebar_get_type (void) } GtkWidget * -e_mail_sidebar_new (EMailBackend *backend) +e_mail_sidebar_new (EMailBackend *backend, + EAlertSink *alert_sink) { g_return_val_if_fail (E_IS_MAIL_BACKEND (backend), NULL); + g_return_val_if_fail (E_IS_ALERT_SINK (alert_sink), NULL); return g_object_new ( - E_TYPE_MAIL_SIDEBAR, "backend", backend, NULL); + E_TYPE_MAIL_SIDEBAR, + "alert-sink", alert_sink, + "backend", backend, NULL); } GKeyFile * |