Fix looping in gtk_tree_store_init() waiting for zero random int.
* gtk/gtktreestore.c: Fix looping in gtk_tree_store_init() waiting for zero random int.
This commit is contained in:
@ -248,7 +248,7 @@ gtk_tree_store_init (GtkTreeStore *tree_store)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user