aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-25 04:16:59 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-25 04:16:59 +0800
commitb6fecfcd53bc5a733a7aaf3684cda077bfdd2e5e (patch)
treeb14a49e04c97ef221cf25bc0f7993145b6746b74 /mail
parent7dbc147e266e0922e6d5c3042aeea508fc069d00 (diff)
downloadgsoc2013-evolution-b6fecfcd53bc5a733a7aaf3684cda077bfdd2e5e.tar
gsoc2013-evolution-b6fecfcd53bc5a733a7aaf3684cda077bfdd2e5e.tar.gz
gsoc2013-evolution-b6fecfcd53bc5a733a7aaf3684cda077bfdd2e5e.tar.bz2
gsoc2013-evolution-b6fecfcd53bc5a733a7aaf3684cda077bfdd2e5e.tar.lz
gsoc2013-evolution-b6fecfcd53bc5a733a7aaf3684cda077bfdd2e5e.tar.xz
gsoc2013-evolution-b6fecfcd53bc5a733a7aaf3684cda077bfdd2e5e.tar.zst
gsoc2013-evolution-b6fecfcd53bc5a733a7aaf3684cda077bfdd2e5e.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.c22
-rw-r--r--mail/em-folder-tree.h2
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