[evolution-groupwise] Fix a build break due to recent changes in evolution



commit e8df8ae886d49abac2f661ae45a9fa1a3f4e4593
Author: Milan Crha <mcrha redhat com>
Date:   Wed Aug 10 10:06:01 2011 +0200

    Fix a build break due to recent changes in evolution

 src/plugins/install-shared.c      |    3 ++-
 src/plugins/share-folder-common.c |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/install-shared.c b/src/plugins/install-shared.c
index ea6173f..8066e19 100644
--- a/src/plugins/install-shared.c
+++ b/src/plugins/install-shared.c
@@ -37,6 +37,7 @@
 #include <mail/em-config.h>
 #include <mail/em-event.h>
 #include <mail/em-folder-tree.h>
+#include <mail/em-folder-tree-model.h>
 #include <mail/em-folder-selector.h>
 #include <e-gw-connection.h>
 #include <share-folder.h>
@@ -178,7 +179,7 @@ apply_clicked (GtkAssistant *assistant, CamelMimeMessage *msg)
 	accept_data = g_new0 (struct AcceptData, 1);
 
 	dialog = em_folder_selector_create_new (
-		parent, E_MAIL_BACKEND (shell_backend), 0,
+		parent, E_MAIL_BACKEND (shell_backend), em_folder_tree_model_get_default (), 0,
 		_("Create folder"), _("Specify where to create the folder:"));
 
 	selector = EM_FOLDER_SELECTOR (dialog);
diff --git a/src/plugins/share-folder-common.c b/src/plugins/share-folder-common.c
index 49bce0f..ccac39f 100644
--- a/src/plugins/share-folder-common.c
+++ b/src/plugins/share-folder-common.c
@@ -35,6 +35,7 @@
 #include <mail/em-config.h>
 #include <mail/em-folder-properties.h>
 #include <mail/em-folder-tree.h>
+#include <mail/em-folder-tree-model.h>
 #include <mail/em-folder-selector.h>
 #include <mail/mail-mt.h>
 #include <mail/mail-vfolder.h>
@@ -348,7 +349,7 @@ gw_new_shared_folder_cb (GtkAction *action, EShellView *shell_view)
 	shell_backend = e_shell_view_get_shell_backend (shell_view);
 
 	dialog = em_folder_selector_create_new (
-		parent, E_MAIL_BACKEND (shell_backend), 0,
+		parent, E_MAIL_BACKEND (shell_backend), em_folder_tree_model_get_default (), 0,
 		_("Create folder"), _("Specify where to create the folder:"));
 
 	selector = EM_FOLDER_SELECTOR (dialog);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]