diff options
Diffstat (limited to 'mail/e-mail-sidebar.c')
-rw-r--r-- | mail/e-mail-sidebar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/e-mail-sidebar.c b/mail/e-mail-sidebar.c index f9cb30eab2..80043f035a 100644 --- a/mail/e-mail-sidebar.c +++ b/mail/e-mail-sidebar.c @@ -473,12 +473,12 @@ e_mail_sidebar_get_type (void) } GtkWidget * -e_mail_sidebar_new (EMailSession *session) +e_mail_sidebar_new (EMailBackend *backend) { - g_return_val_if_fail (E_IS_MAIL_SESSION (session), NULL); + g_return_val_if_fail (E_IS_MAIL_BACKEND (backend), NULL); return g_object_new ( - E_TYPE_MAIL_SIDEBAR, "session", session, NULL); + E_TYPE_MAIL_SIDEBAR, "backend", backend, NULL); } GKeyFile * |