diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-25 04:16:59 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:20 +0800 |
commit | 851a872865769d1d53e495fd1d0b82f0452594c4 (patch) | |
tree | 425135e7ca42571f07e1bf8ef9f3c711d1abd38b /mail | |
parent | cf138322ffcba2d9ccc939a26ac3c05dfffd4751 (diff) | |
download | gsoc2013-evolution-851a872865769d1d53e495fd1d0b82f0452594c4.tar gsoc2013-evolution-851a872865769d1d53e495fd1d0b82f0452594c4.tar.gz gsoc2013-evolution-851a872865769d1d53e495fd1d0b82f0452594c4.tar.bz2 gsoc2013-evolution-851a872865769d1d53e495fd1d0b82f0452594c4.tar.lz gsoc2013-evolution-851a872865769d1d53e495fd1d0b82f0452594c4.tar.xz gsoc2013-evolution-851a872865769d1d53e495fd1d0b82f0452594c4.tar.zst gsoc2013-evolution-851a872865769d1d53e495fd1d0b82f0452594c4.zip |
Remove em_folder_tree_get_selected_path().
em_folder_tree_get_selected() supercedes it.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/em-folder-tree.c | 22 | ||||
-rw-r--r-- | mail/em-folder-tree.h | 2 |
2 files changed, 0 insertions, 24 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 9689c53dda..3b16f62fa3 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -3207,28 +3207,6 @@ em_folder_tree_get_selected_uri (EMFolderTree *folder_tree) return uri; } -gchar * -em_folder_tree_get_selected_path (EMFolderTree *folder_tree) -{ - GtkTreeView *tree_view; - GtkTreeSelection *selection; - GtkTreeModel *model; - GtkTreeIter iter; - gchar *name = NULL; - - g_return_val_if_fail (EM_IS_FOLDER_TREE (folder_tree), NULL); - - tree_view = GTK_TREE_VIEW (folder_tree); - selection = gtk_tree_view_get_selection (tree_view); - - if (!gtk_tree_selection_get_selected (selection, &model, &iter)) - return NULL; - - gtk_tree_model_get (model, &iter, COL_STRING_FULL_NAME, &name, -1); - - return name; -} - CamelFolder * em_folder_tree_get_selected_folder (EMFolderTree *folder_tree) { diff --git a/mail/em-folder-tree.h b/mail/em-folder-tree.h index 3a28d5c314..17c68648a9 100644 --- a/mail/em-folder-tree.h +++ b/mail/em-folder-tree.h @@ -127,8 +127,6 @@ gboolean em_folder_tree_get_selected (EMFolderTree *folder_tree, CamelStore **out_store, gchar **out_folder_name); gchar * em_folder_tree_get_selected_uri (EMFolderTree *folder_tree); -gchar * em_folder_tree_get_selected_path - (EMFolderTree *folder_tree); CamelFolder * em_folder_tree_get_selected_folder (EMFolderTree *folder_tree); EAccount * em_folder_tree_get_selected_account |