summaryrefslogtreecommitdiff
path: root/tests/testtreeflow.c
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 /tests/testtreeflow.c
parentf87ac4d556f3a8ba3ec0342621b02ac95faaf28d (diff)
downloadgtk+-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).
Diffstat (limited to 'tests/testtreeflow.c')
-rw-r--r--tests/testtreeflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtreeflow.c b/tests/testtreeflow.c
index 50abad7407..ffc0b8650e 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
{