aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r--mail/mail-component.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c
index 1e78894e86..5f4a1d5995 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -694,7 +694,7 @@ mail_component_get_tree_model (MailComponent *component)
{
EMFolderTreeModel *model;
- model = (EMFolderTreeModel *) gtk_tree_view_get_model ((GtkTreeView *) component->priv->emft);
+ model = em_folder_tree_get_model ((GtkTreeView *) component->priv->emft);
g_object_ref (model);
return model;