aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-09-26 23:45:11 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-09-26 23:45:11 +0800
commitf615000f6c1f549db7ea29ff8a3a011b1bd850cc (patch)
tree0555f6bdd6469dbfcdc77bd2ba7ac56aaeded849 /mail/em-composer-utils.c
parent8c426446929d94c390c550177695a9f055f779ae (diff)
downloadgsoc2013-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/em-composer-utils.c')
-rw-r--r--mail/em-composer-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index e42559ab3b..8c98040ada 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -2989,7 +2989,7 @@ post_header_clicked_cb (EComposerPostHeader *header,
shell_backend = e_shell_get_backend_by_name (shell, "mail");
/* FIXME Limit the folder tree to the NNTP account? */
- model = em_folder_tree_model_get_default (E_MAIL_BACKEND (shell_backend));
+ model = em_folder_tree_model_get_default ();
dialog = em_folder_selector_new (
GTK_WINDOW (composer),