diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-04-01 04:26:01 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-04-01 04:26:01 +0800 |
commit | f7e9c117f8b45132481a410f9a8c93a93303dc88 (patch) | |
tree | 99b40ac947f95686f7161650f5001343b7a80332 | |
parent | 2e9fe25b8edb725fdb14bd65e9333b701c23614d (diff) | |
download | gsoc2013-evolution-f7e9c117f8b45132481a410f9a8c93a93303dc88.tar.gz gsoc2013-evolution-f7e9c117f8b45132481a410f9a8c93a93303dc88.tar.zst gsoc2013-evolution-f7e9c117f8b45132481a410f9a8c93a93303dc88.zip |
Accidently committed this with using the tree selection model turned on.
2001-03-31 Christopher James Lahey <clahey@ximian.com>
* e-tree.c, e-tree.h: Accidently committed this with using the
tree selection model turned on. Rolled back this change.
svn path=/trunk/; revision=9076
-rw-r--r-- | widgets/table/e-tree.c | 17 | ||||
-rw-r--r-- | widgets/table/e-tree.h | 4 |
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); |