diff options
Diffstat (limited to 'widgets/table/e-tree.c')
-rw-r--r-- | widgets/table/e-tree.c | 17 |
1 files changed, 2 insertions, 15 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) { |