diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-04-01 04:23:20 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-04-01 04:23:20 +0800 |
commit | 2e9fe25b8edb725fdb14bd65e9333b701c23614d (patch) | |
tree | bb9eba1b0c8e8c46f30f1f6fd50b483945417b91 /widgets/table/e-tree-selection-model.h | |
parent | 48e35cdf4cb43d172a61ffa86e24e0c25b156680 (diff) | |
download | gsoc2013-evolution-2e9fe25b8edb725fdb14bd65e9333b701c23614d.tar.gz gsoc2013-evolution-2e9fe25b8edb725fdb14bd65e9333b701c23614d.tar.zst gsoc2013-evolution-2e9fe25b8edb725fdb14bd65e9333b701c23614d.zip |
Include <gal/util/e-util.h> here.
2001-03-31 Christopher James Lahey <clahey@ximian.com>
* e-tree-scrolled.c: Include <gal/util/e-util.h> here.
* e-tree-selection-model.c, e-tree-selection-model.h: Privatized
this class. Cleaned this up a bit. Added handlers for signals
from the model.
* e-tree.c, e-tree.h: Privatized this class.
svn path=/trunk/; revision=9075
Diffstat (limited to 'widgets/table/e-tree-selection-model.h')
-rw-r--r-- | widgets/table/e-tree-selection-model.h | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/widgets/table/e-tree-selection-model.h b/widgets/table/e-tree-selection-model.h index 5a591053a0..10fb35a211 100644 --- a/widgets/table/e-tree-selection-model.h +++ b/widgets/table/e-tree-selection-model.h @@ -3,12 +3,8 @@ #define _E_TREE_SELECTION_MODEL_H_ #include <gtk/gtkobject.h> -#include <gal/util/e-sorter.h> -#include <gdk/gdktypes.h> #include <gal/widgets/e-selection-model.h> #include <gal/e-table/e-tree-model.h> -#include <gal/e-table/e-tree-sorted.h> -#include <gal/e-table/e-tree-table-adapter.h> #ifdef __cplusplus extern "C" { @@ -17,7 +13,7 @@ extern "C" { typedef void (*ETreeForeachFunc) (ETreePath path, gpointer closure); -typedef struct ETreeSelectionModelNode ETreeSelectionModelNode; +typedef struct ETreeSelectionModelPriv ETreeSelectionModelPriv; #define E_TREE_SELECTION_MODEL_TYPE (e_tree_selection_model_get_type ()) #define E_TREE_SELECTION_MODEL(o) (GTK_CHECK_CAST ((o), E_TREE_SELECTION_MODEL_TYPE, ETreeSelectionModel)) @@ -28,22 +24,7 @@ typedef struct ETreeSelectionModelNode ETreeSelectionModelNode; typedef struct { ESelectionModel base; - ETreeTableAdapter *etta; - ETreeSorted *ets; - ETreeModel *model; - - ETreeSelectionModelNode *root; - - ETreePath cursor_path; - gint cursor_col; - gint selection_start_row; - - guint model_changed_id; - guint model_row_inserted_id, model_row_deleted_id; - - guint frozen : 1; - guint selection_model_changed : 1; - guint group_info_changed : 1; + ETreeSelectionModelPriv *priv; } ETreeSelectionModel; typedef struct { |