Looping in testtreeview



When I ran testtreeview this morning after updating to latest glib, pango, gtk+ 
it went into a loop.

The following patch seems to fix the problem. May I commit?

Padraig

Index: gtktreestore.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtktreestore.c,v
retrieving revision 1.47
diff -u -p -r1.47 gtktreestore.c
--- gtktreestore.c      2001/09/08 18:23:47     1.47
+++ gtktreestore.c      2001/09/10 11:42:17
@@ -248,7 +248,7 @@ gtk_tree_store_init (GtkTreeStore *tree_
     {
       tree_store->stamp = g_random_int ();
     }
-  while (tree_store->stamp != 0);
+  while (tree_store->stamp == 0);
   tree_store->sort_list = NULL;
   tree_store->sort_column_id = -2;
 }
cvs server: Diffing stock-icons





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]