summaryrefslogtreecommitdiff
path: root/gtk/gtktreeselection.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2002-11-20 01:05:26 +0000
committerManish Singh <yosh@src.gnome.org>2002-11-20 01:05:26 +0000
commit3e8866a488844f8c2ded0a7cdb26cab3af2c2390 (patch)
treecc941f3530255c9ee03078058357d4b56846ac68 /gtk/gtktreeselection.c
parentfccd38337e48dd3a34d5ca83567d7fa54ac398f1 (diff)
downloadgtk+-3e8866a488844f8c2ded0a7cdb26cab3af2c2390.tar.gz
initialize anchor_path to NULL.
Tue Nov 19 17:01:40 2002 Manish Singh <yosh@gimp.org> * gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range): initialize anchor_path to NULL. * examples/buttonbox/buttonbox.c: remove useless static qualifier.
Diffstat (limited to 'gtk/gtktreeselection.c')
-rw-r--r--gtk/gtktreeselection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c
index 38d943ebfc..a6fc4cd0be 100644
--- a/gtk/gtktreeselection.c
+++ b/gtk/gtktreeselection.c
@@ -1147,7 +1147,7 @@ gtk_tree_selection_real_modify_range (GtkTreeSelection *selection,
{
GtkRBNode *start_node, *end_node;
GtkRBTree *start_tree, *end_tree;
- GtkTreePath *anchor_path;
+ GtkTreePath *anchor_path = NULL;
gboolean dirty = FALSE;
switch (gtk_tree_path_compare (start_path, end_path))