aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/em-folder-tree.h2
-rw-r--r--mail/mail-component.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e75fbf28be..814acad478 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -3,7 +3,8 @@
* mail-component.c (mail_component_get_tree_model): Use
em_folder_tree_get_model() since an emft is not a GtkTreeView.
- * em-folder-tree.c (em_folder_tree_get_model): New function to get the tree model.
+ * em-folder-tree.c (em_folder_tree_get_model): New function to get
+ the tree model.
2003-11-13 Jeffrey Stedfast <fejj@ximian.com>
diff --git a/mail/em-folder-tree.h b/mail/em-folder-tree.h
index 938813b34a..b4b845afac 100644
--- a/mail/em-folder-tree.h
+++ b/mail/em-folder-tree.h
@@ -70,6 +70,8 @@ void em_folder_tree_set_selected (EMFolderTree *emft, const char *uri);
const char *em_folder_tree_get_selected_uri (EMFolderTree *emft);
const char *em_folder_tree_get_selected_path (EMFolderTree *emft);
+EMFolderTreeModel *em_folder_tree_get_model (EMFolderTree *emft);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
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;