diff options
author | Jonathan Blandford <jrb@redhat.com> | 2002-01-08 23:48:30 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2002-01-08 23:48:30 +0000 |
commit | 9f35f366612f82ba48796e0e208eb5e78138a68c (patch) | |
tree | 21c2aab2ea5f0d8f82f55756142839e0dc1c4d30 /gtk/gtktreestore.c | |
parent | 5c71539c263da8502414577eb7ab51c70dece8b2 (diff) | |
download | gdk-pixbuf-9f35f366612f82ba48796e0e208eb5e78138a68c.tar.gz |
wow! Am I a moron or what 0 < 1 is not equivalent to strcmp ("a", "b")
Tue Jan 8 18:39:23 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): wow!
Am I a moron or what 0 < 1 is not equivalent to strcmp ("a", "b")
Diffstat (limited to 'gtk/gtktreestore.c')
-rw-r--r-- | gtk/gtktreestore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c index d9e38832a..751850aab 100644 --- a/gtk/gtktreestore.c +++ b/gtk/gtktreestore.c @@ -1794,6 +1794,7 @@ gtk_tree_store_sort_helper (GtkTreeStore *tree_store, i++; } + /* Sort the array */ g_array_sort_with_data (sort_array, gtk_tree_store_compare_func, tree_store); for (i = 0; i < list_length - 1; i++) |