diff options
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r-- | mail/em-folder-tree.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 36d3bf3d07..6016aeaa85 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -2059,3 +2059,12 @@ em_folder_tree_get_selected_path (EMFolderTree *emft) return emft->priv->selected_path; } + + +EMFolderTreeModel * +em_folder_tree_get_model (EMFolderTree *emft) +{ + g_return_val_if_fail (EM_IS_FOLDER_TREE (emft), NULL); + + return (EMFolderTreeModel *) gtk_tree_view_get_model (emft->priv->treeview); +} |