diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-11-14 07:42:49 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-11-14 07:42:49 +0800 |
commit | dbf9e56e6398ae0520085e8a3f0f25fc2225d4a8 (patch) | |
tree | a1f12e71abce27163d4a83b73c15e94f5d7debce /mail | |
parent | f67ed4d34c9f81638af00651fa05cb96019a917a (diff) | |
download | gsoc2013-evolution-dbf9e56e6398ae0520085e8a3f0f25fc2225d4a8.tar gsoc2013-evolution-dbf9e56e6398ae0520085e8a3f0f25fc2225d4a8.tar.gz gsoc2013-evolution-dbf9e56e6398ae0520085e8a3f0f25fc2225d4a8.tar.bz2 gsoc2013-evolution-dbf9e56e6398ae0520085e8a3f0f25fc2225d4a8.tar.lz gsoc2013-evolution-dbf9e56e6398ae0520085e8a3f0f25fc2225d4a8.tar.xz gsoc2013-evolution-dbf9e56e6398ae0520085e8a3f0f25fc2225d4a8.tar.zst gsoc2013-evolution-dbf9e56e6398ae0520085e8a3f0f25fc2225d4a8.zip |
Use em_folder_tree_get_model() since an emft is not a GtkTreeView.
2003-11-13 Jeffrey Stedfast <fejj@ximian.com>
* 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.
svn path=/trunk/; revision=23347
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/em-folder-tree.h | 2 | ||||
-rw-r--r-- | mail/mail-component.c | 2 |
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; |