aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-selector.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-folder-selector.c')
-rw-r--r--mail/em-folder-selector.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c
index c9c001f0cd..03970bbc05 100644
--- a/mail/em-folder-selector.c
+++ b/mail/em-folder-selector.c
@@ -56,10 +56,10 @@ static void
folder_selector_destroy (GtkObject *object)
{
EMFolderSelector *emfs = EM_FOLDER_SELECTOR (object);
- EMFolderTreeModel *model;
+ GtkTreeModel *model;
if (emfs->created_id != 0) {
- model = em_folder_tree_get_model (emfs->emft);
+ model = gtk_tree_view_get_model (GTK_TREE_VIEW (emfs->emft));
g_signal_handler_disconnect (model, emfs->created_id);
emfs->created_id = 0;
}