summaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLog.pre-2-107
-rw-r--r--ChangeLog.pre-2-27
-rw-r--r--ChangeLog.pre-2-47
-rw-r--r--ChangeLog.pre-2-67
-rw-r--r--ChangeLog.pre-2-87
-rw-r--r--examples/buttonbox/buttonbox.c2
-rw-r--r--gtk/gtktreeselection.c2
8 files changed, 44 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 29636d5953..422b276a92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2002-11-19 Matthias Clasen <maclas@gmx.de>
* tests/testgtk.c (do_bench):
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 29636d5953..422b276a92 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,10 @@
+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.
+
2002-11-19 Matthias Clasen <maclas@gmx.de>
* tests/testgtk.c (do_bench):
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 29636d5953..422b276a92 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,10 @@
+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.
+
2002-11-19 Matthias Clasen <maclas@gmx.de>
* tests/testgtk.c (do_bench):
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 29636d5953..422b276a92 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,10 @@
+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.
+
2002-11-19 Matthias Clasen <maclas@gmx.de>
* tests/testgtk.c (do_bench):
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 29636d5953..422b276a92 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,10 @@
+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.
+
2002-11-19 Matthias Clasen <maclas@gmx.de>
* tests/testgtk.c (do_bench):
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 29636d5953..422b276a92 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,10 @@
+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.
+
2002-11-19 Matthias Clasen <maclas@gmx.de>
* tests/testgtk.c (do_bench):
diff --git a/examples/buttonbox/buttonbox.c b/examples/buttonbox/buttonbox.c
index c70700ac74..a3c012c045 100644
--- a/examples/buttonbox/buttonbox.c
+++ b/examples/buttonbox/buttonbox.c
@@ -43,7 +43,7 @@ GtkWidget *create_bbox( gint horizontal,
int main( int argc,
char *argv[] )
{
- static GtkWidget* window = NULL;
+ GtkWidget *window;
GtkWidget *main_vbox;
GtkWidget *vbox;
GtkWidget *hbox;
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))