add warnings per jrb's request.

Sat Sep  1 21:57:27 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtkrbtree.c (_gtk_rbtree_reorder): add warnings
        per jrb's request.
This commit is contained in:
Kristian Rietveld 2001-09-01 20:56:41 +00:00 committed by Kristian Rietveld
parent 140a63234e
commit d9e18f0a2f
8 changed files with 40 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sat Sep 1 21:57:27 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkrbtree.c (_gtk_rbtree_reorder): add warnings
per jrb's request.
Fri Aug 31 20:01:23 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_search_iter): pass in user data.

View File

@ -1,3 +1,8 @@
Sat Sep 1 21:57:27 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkrbtree.c (_gtk_rbtree_reorder): add warnings
per jrb's request.
Fri Aug 31 20:01:23 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_search_iter): pass in user data.

View File

@ -1,3 +1,8 @@
Sat Sep 1 21:57:27 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkrbtree.c (_gtk_rbtree_reorder): add warnings
per jrb's request.
Fri Aug 31 20:01:23 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_search_iter): pass in user data.

View File

@ -1,3 +1,8 @@
Sat Sep 1 21:57:27 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkrbtree.c (_gtk_rbtree_reorder): add warnings
per jrb's request.
Fri Aug 31 20:01:23 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_search_iter): pass in user data.

View File

@ -1,3 +1,8 @@
Sat Sep 1 21:57:27 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkrbtree.c (_gtk_rbtree_reorder): add warnings
per jrb's request.
Fri Aug 31 20:01:23 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_search_iter): pass in user data.

View File

@ -1,3 +1,8 @@
Sat Sep 1 21:57:27 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkrbtree.c (_gtk_rbtree_reorder): add warnings
per jrb's request.
Fri Aug 31 20:01:23 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_search_iter): pass in user data.

View File

@ -1,3 +1,8 @@
Sat Sep 1 21:57:27 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtkrbtree.c (_gtk_rbtree_reorder): add warnings
per jrb's request.
Fri Aug 31 20:01:23 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_search_iter): pass in user data.

View File

@ -775,8 +775,11 @@ _gtk_rbtree_reorder (GtkRBTree *tree,
GArray *array;
GtkRBNode *node;
gint i;
g_return_if_fail (tree != NULL);
g_return_if_fail (length > 0);
g_return_if_fail (tree->root->count == length);
/* Sort the trees values in the new tree. */
array = g_array_sized_new (FALSE, FALSE, sizeof (GtkRBReorder), length);
for (i = 0; i < length; i++)