diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-09-26 23:45:11 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-09-26 23:45:11 +0800 |
commit | f615000f6c1f549db7ea29ff8a3a011b1bd850cc (patch) | |
tree | 0555f6bdd6469dbfcdc77bd2ba7ac56aaeded849 /mail/e-mail-sidebar.c | |
parent | 8c426446929d94c390c550177695a9f055f779ae (diff) | |
download | gsoc2013-evolution-f615000f6c1f549db7ea29ff8a3a011b1bd850cc.tar.gz gsoc2013-evolution-f615000f6c1f549db7ea29ff8a3a011b1bd850cc.tar.zst gsoc2013-evolution-f615000f6c1f549db7ea29ff8a3a011b1bd850cc.zip |
EMFolderTreeModel: Don't use parameters in "get_default" functions.
Drop EMFolderTreeModel's "session" property now that it has a "backend"
property and call em_folder_tree_model_set_backend() where we used to
call em_folder_tree_model_set_session().
The session can still be obtained through e_mail_backend_get_session().
Diffstat (limited to 'mail/e-mail-sidebar.c')
-rw-r--r-- | mail/e-mail-sidebar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/e-mail-sidebar.c b/mail/e-mail-sidebar.c index 6a971ea51f..35048f8293 100644 --- a/mail/e-mail-sidebar.c +++ b/mail/e-mail-sidebar.c @@ -471,7 +471,7 @@ e_mail_sidebar_new (EMailBackend *backend, g_return_val_if_fail (E_IS_MAIL_BACKEND (backend), NULL); g_return_val_if_fail (E_IS_ALERT_SINK (alert_sink), NULL); - model = em_folder_tree_model_get_default (backend); + model = em_folder_tree_model_get_default (); return g_object_new ( E_TYPE_MAIL_SIDEBAR, |