summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2002-12-19 02:38:27 +0000
committerKristian Rietveld <kristian@src.gnome.org>2002-12-19 02:38:27 +0000
commit4a19c3da8214e430c7709ad4c52e5a9da398d02d (patch)
treea36b86807a82cbcbcbff573c741325bd435e5997
parentf87ac4d556f3a8ba3ec0342621b02ac95faaf28d (diff)
downloadgdk-pixbuf-4a19c3da8214e430c7709ad4c52e5a9da398d02d.tar.gz
the rand variable should be static to avoid conflicts with rand().
Thu Dec 19 03:58:36 2002 Kristian Rietveld <kris@gtk.org> * tests/testtreeflow.c: the rand variable should be static to avoid conflicts with rand(). (#100844, reported by Soeren Sandmann, fix pointed out by Matthias Clasen). Thu Dec 19 03:56:23 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): if we started editing, we handled this key signal, so return TRUE. (#100532, reported by Soeren Sandmann).
-rw-r--r--ChangeLog12
-rw-r--r--ChangeLog.pre-2-1012
-rw-r--r--ChangeLog.pre-2-212
-rw-r--r--ChangeLog.pre-2-412
-rw-r--r--ChangeLog.pre-2-612
-rw-r--r--ChangeLog.pre-2-812
-rw-r--r--gtk/gtktreeview.c2
-rw-r--r--tests/testtreeflow.c2
8 files changed, 74 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 559191852..8f98ebf0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+Thu Dec 19 03:58:36 2002 Kristian Rietveld <kris@gtk.org>
+
+ * tests/testtreeflow.c: the rand variable should be static to
+ avoid conflicts with rand(). (#100844, reported by Soeren Sandmann,
+ fix pointed out by Matthias Clasen).
+
+Thu Dec 19 03:56:23 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): if we
+ started editing, we handled this key signal, so return TRUE.
+ (#100532, reported by Soeren Sandmann).
+
2002-12-18 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c: Add docs.
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 559191852..8f98ebf0f 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,15 @@
+Thu Dec 19 03:58:36 2002 Kristian Rietveld <kris@gtk.org>
+
+ * tests/testtreeflow.c: the rand variable should be static to
+ avoid conflicts with rand(). (#100844, reported by Soeren Sandmann,
+ fix pointed out by Matthias Clasen).
+
+Thu Dec 19 03:56:23 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): if we
+ started editing, we handled this key signal, so return TRUE.
+ (#100532, reported by Soeren Sandmann).
+
2002-12-18 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c: Add docs.
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 559191852..8f98ebf0f 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,15 @@
+Thu Dec 19 03:58:36 2002 Kristian Rietveld <kris@gtk.org>
+
+ * tests/testtreeflow.c: the rand variable should be static to
+ avoid conflicts with rand(). (#100844, reported by Soeren Sandmann,
+ fix pointed out by Matthias Clasen).
+
+Thu Dec 19 03:56:23 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): if we
+ started editing, we handled this key signal, so return TRUE.
+ (#100532, reported by Soeren Sandmann).
+
2002-12-18 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c: Add docs.
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 559191852..8f98ebf0f 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,15 @@
+Thu Dec 19 03:58:36 2002 Kristian Rietveld <kris@gtk.org>
+
+ * tests/testtreeflow.c: the rand variable should be static to
+ avoid conflicts with rand(). (#100844, reported by Soeren Sandmann,
+ fix pointed out by Matthias Clasen).
+
+Thu Dec 19 03:56:23 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): if we
+ started editing, we handled this key signal, so return TRUE.
+ (#100532, reported by Soeren Sandmann).
+
2002-12-18 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c: Add docs.
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 559191852..8f98ebf0f 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,15 @@
+Thu Dec 19 03:58:36 2002 Kristian Rietveld <kris@gtk.org>
+
+ * tests/testtreeflow.c: the rand variable should be static to
+ avoid conflicts with rand(). (#100844, reported by Soeren Sandmann,
+ fix pointed out by Matthias Clasen).
+
+Thu Dec 19 03:56:23 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): if we
+ started editing, we handled this key signal, so return TRUE.
+ (#100532, reported by Soeren Sandmann).
+
2002-12-18 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c: Add docs.
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 559191852..8f98ebf0f 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,15 @@
+Thu Dec 19 03:58:36 2002 Kristian Rietveld <kris@gtk.org>
+
+ * tests/testtreeflow.c: the rand variable should be static to
+ avoid conflicts with rand(). (#100844, reported by Soeren Sandmann,
+ fix pointed out by Matthias Clasen).
+
+Thu Dec 19 03:56:23 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): if we
+ started editing, we handled this key signal, so return TRUE.
+ (#100532, reported by Soeren Sandmann).
+
2002-12-18 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c: Add docs.
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index e9e932501..b500f6f7e 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -7487,7 +7487,7 @@ gtk_tree_view_real_select_cursor_row (GtkTreeView *tree_view,
if (gtk_tree_view_start_editing (tree_view, cursor_path))
{
gtk_tree_path_free (cursor_path);
- return FALSE;
+ return TRUE;
}
}
_gtk_tree_selection_internal_select_node (tree_view->priv->selection,
diff --git a/tests/testtreeflow.c b/tests/testtreeflow.c
index 50abad740..ffc0b8650 100644
--- a/tests/testtreeflow.c
+++ b/tests/testtreeflow.c
@@ -1,7 +1,7 @@
#include <gtk/gtk.h>
GtkTreeModel *model = NULL;
-GRand *rand = NULL;
+static GRand *rand = NULL;
GtkTreeSelection *selection = NULL;
enum
{