aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-04-01 07:25:03 +0800
committerChris Lahey <clahey@src.gnome.org>2001-04-01 07:25:03 +0800
commit57f877305c3c2e6a0b43b1ceb0717ffc2b991bc7 (patch)
treebadfc116dadc43deeba47767fbdfe5fbc6360699
parent1bc755bcd9476c90276356c0bdcbc570cca890b1 (diff)
downloadgsoc2013-evolution-57f877305c3c2e6a0b43b1ceb0717ffc2b991bc7.tar
gsoc2013-evolution-57f877305c3c2e6a0b43b1ceb0717ffc2b991bc7.tar.gz
gsoc2013-evolution-57f877305c3c2e6a0b43b1ceb0717ffc2b991bc7.tar.bz2
gsoc2013-evolution-57f877305c3c2e6a0b43b1ceb0717ffc2b991bc7.tar.lz
gsoc2013-evolution-57f877305c3c2e6a0b43b1ceb0717ffc2b991bc7.tar.xz
gsoc2013-evolution-57f877305c3c2e6a0b43b1ceb0717ffc2b991bc7.tar.zst
gsoc2013-evolution-57f877305c3c2e6a0b43b1ceb0717ffc2b991bc7.zip
Initialize all necessary fields here.
2001-03-31 Christopher James Lahey <clahey@ximian.com> * e-tree.c (e_tree_init): Initialize all necessary fields here. svn path=/trunk/; revision=9081
-rw-r--r--widgets/table/e-tree.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index 51b2b08cf9..c397341cff 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -204,7 +204,15 @@ e_tree_init (GtkObject *object)
e_tree->priv = g_new(ETreePriv, 1);
+ e_tree->priv->model = NULL;
+ e_tree->priv->sorted = NULL;
+ e_tree->priv->etta = NULL;
+
+ e_tree->priv->full_header = NULL;
+ e_tree->priv->header = NULL;
+
e_tree->priv->sort_info = NULL;
+ e_tree->priv->sorter = NULL;
e_tree->priv->reflow_idle_id = 0;
e_tree->priv->horizontal_draw_grid = 1;
@@ -213,6 +221,7 @@ e_tree_init (GtkObject *object)
e_tree->priv->cursor_mode = E_CURSOR_SIMPLE;
e_tree->priv->length_threshold = 200;
+ e_tree->priv->row_selection_active = FALSE;
e_tree->priv->horizontal_scrolling = FALSE;
e_tree->priv->drop_row = -1;
@@ -229,6 +238,15 @@ e_tree_init (GtkObject *object)
e_tree->priv->selection = E_SELECTION_MODEL(e_table_selection_model_new());
e_tree->priv->spec = NULL;
+
+ e_tree->priv->header_canvas = NULL;
+ e_tree->priv->table_canvas = NULL;
+
+ e_tree->priv->header_item = NULL;
+ e_tree->priv->root = NULL;
+
+ e_tree->priv->white_item = NULL;
+ e_tree->priv->item = NULL;
}
/* Grab_focus handler for the ETree */