]> Pileus Git - ~andy/gtk/commitdiff
the rand variable should be static to avoid conflicts with rand().
authorKristian Rietveld <kris@gtk.org>
Thu, 19 Dec 2002 02:38:27 +0000 (02:38 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Thu, 19 Dec 2002 02:38:27 +0000 (02:38 +0000)
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).

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktreeview.c
tests/testtreeflow.c

index 5591918525f2a1372ef6db3345abe7ab5602fc64..8f98ebf0fdf781062d61b74125dc2c8d9bbf2728 100644 (file)
--- 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.
index 5591918525f2a1372ef6db3345abe7ab5602fc64..8f98ebf0fdf781062d61b74125dc2c8d9bbf2728 100644 (file)
@@ -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.
index 5591918525f2a1372ef6db3345abe7ab5602fc64..8f98ebf0fdf781062d61b74125dc2c8d9bbf2728 100644 (file)
@@ -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.
index 5591918525f2a1372ef6db3345abe7ab5602fc64..8f98ebf0fdf781062d61b74125dc2c8d9bbf2728 100644 (file)
@@ -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.
index 5591918525f2a1372ef6db3345abe7ab5602fc64..8f98ebf0fdf781062d61b74125dc2c8d9bbf2728 100644 (file)
@@ -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.
index 5591918525f2a1372ef6db3345abe7ab5602fc64..8f98ebf0fdf781062d61b74125dc2c8d9bbf2728 100644 (file)
@@ -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.
index e9e93250114d395d02ce67d9877f983d83a41e4c..b500f6f7ec4bc00f99e43792d1100387451f9f19 100644 (file)
@@ -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,
index 50abad740720e4be0cb024c4b38c484865ba05a3..ffc0b8650e37648f8864a54e89507a390617060d 100644 (file)
@@ -1,7 +1,7 @@
 #include <gtk/gtk.h>
 
 GtkTreeModel *model = NULL;
-GRand *rand = NULL;
+static GRand *rand = NULL;
 GtkTreeSelection *selection = NULL;
 enum
 {