aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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