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/em-folder-tree-model.h | |
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/em-folder-tree-model.h')
-rw-r--r-- | mail/em-folder-tree-model.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/mail/em-folder-tree-model.h b/mail/em-folder-tree-model.h index 3765cfea11..0ed007aa96 100644 --- a/mail/em-folder-tree-model.h +++ b/mail/em-folder-tree-model.h @@ -111,20 +111,15 @@ struct _EMFolderTreeModelClass { GType em_folder_tree_model_get_type (void); EMFolderTreeModel * - em_folder_tree_model_new (EMailBackend *mail_backend); + em_folder_tree_model_new (void); EMFolderTreeModel * - em_folder_tree_model_get_default (EMailBackend *mail_backend); + em_folder_tree_model_get_default (void); GtkTreeSelection * em_folder_tree_model_get_selection (EMFolderTreeModel *model); void em_folder_tree_model_set_selection (EMFolderTreeModel *model, GtkTreeSelection *selection); -EMailSession * em_folder_tree_model_get_session - (EMFolderTreeModel *model); -void em_folder_tree_model_set_session - (EMFolderTreeModel *model, - EMailSession *session); EMailBackend * em_folder_tree_model_get_backend (EMFolderTreeModel *model); void em_folder_tree_model_set_backend |