aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-selection.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-24 12:40:49 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-24 12:40:49 +0800
commit174c942e0945a2017f0c479883dce2950e42e786 (patch)
tree0011078b4121d5c6c200825b0ab1bb1c4cefd519 /mail/em-folder-selection.c
parentce7537b495a3788d9bda4b6a783a5c3d95309926 (diff)
downloadgsoc2013-evolution-174c942e0945a2017f0c479883dce2950e42e786.tar.gz
gsoc2013-evolution-174c942e0945a2017f0c479883dce2950e42e786.tar.zst
gsoc2013-evolution-174c942e0945a2017f0c479883dce2950e42e786.zip
Split store and local folder management out from shell backend.
Diffstat (limited to 'mail/em-folder-selection.c')
-rw-r--r--mail/em-folder-selection.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/em-folder-selection.c b/mail/em-folder-selection.c
index 5997eb6ca6..1e77525c9b 100644
--- a/mail/em-folder-selection.c
+++ b/mail/em-folder-selection.c
@@ -36,8 +36,7 @@
/* TODO: rmeove this file, it could just go on em-folder-selection or em-utils */
void
-em_select_folder (EMFolderTreeModel *model,
- const gchar *title,
+em_select_folder (const gchar *title,
const gchar *oklabel,
const gchar *default_uri,
EMFTExcludeFunc exclude,
@@ -47,11 +46,10 @@ em_select_folder (EMFolderTreeModel *model,
GtkWidget *dialog;
EMFolderTree *emft;
- g_return_if_fail (EM_IS_FOLDER_TREE_MODEL (model));
g_return_if_fail (done != NULL);
/* XXX Do we leak this reference? */
- emft = (EMFolderTree *) em_folder_tree_new_with_model (model);
+ emft = (EMFolderTree *) em_folder_tree_new ();
if (exclude)
em_folder_tree_set_excluded_func (emft, exclude, user_data);