aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-tree.c17
-rw-r--r--widgets/table/e-tree.h4
2 files changed, 2 insertions, 19 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index ea2e4634c8..e22726d456 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -28,7 +28,7 @@
#include <gal/e-table/e-table-sort-info.h>
#include <gal/e-table/e-table-utils.h>
-#include <gal/e-table/e-tree-selection-model.h>
+#include <gal/e-table/e-table-selection-model.h>
#include <gal/e-table/e-tree-sorted.h>
#include <gal/e-table/e-tree-table-adapter.h>
@@ -227,7 +227,7 @@ e_tree_init (GtkObject *object)
e_tree->priv->drag_source_button_press_event_id = 0;
e_tree->priv->drag_source_motion_notify_event_id = 0;
- e_tree->priv->selection = E_SELECTION_MODEL(e_tree_selection_model_new());
+ e_tree->priv->selection = E_SELECTION_MODEL(e_table_selection_model_new());
e_tree->priv->spec = NULL;
}
@@ -1042,19 +1042,6 @@ e_tree_selected_row_foreach (ETree *e_tree,
closure);
}
-void
-e_tree_selected_path_foreach (ETree *e_tree,
- ETreeForeachFunc callback,
- gpointer closure)
-{
- g_return_if_fail(e_tree != NULL);
- g_return_if_fail(E_IS_TREE(e_tree));
-
- e_tree_selection_model_foreach(E_TREE_SELECTION_MODEL (e_tree->priv->selection),
- callback,
- closure);
-}
-
gint
e_tree_selected_count (ETree *e_tree)
{
diff --git a/widgets/table/e-tree.h b/widgets/table/e-tree.h
index 5ab256f2b0..60d39d8464 100644
--- a/widgets/table/e-tree.h
+++ b/widgets/table/e-tree.h
@@ -11,7 +11,6 @@
#include <gal/e-table/e-table-specification.h>
#include <gal/e-table/e-table-state.h>
#include <gal/e-table/e-tree-model.h>
-#include <gal/e-table/e-tree-selection-model.h>
BEGIN_GNOME_DECLS
@@ -150,9 +149,6 @@ ETreePath e_tree_get_cursor (ETree *e_tree);
void e_tree_selected_row_foreach (ETree *e_tree,
EForeachFunc callback,
gpointer closure);
-void e_tree_selected_path_foreach (ETree *e_tree,
- ETreeForeachFunc callback,
- gpointer closure);
gint e_tree_selected_count (ETree *e_tree);
EPrintable *e_tree_get_printable (ETree *e_tree);