diff options
author | Jonathan Blandford <jrb@redhat.com> | 2001-06-15 23:03:27 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-06-15 23:03:27 +0000 |
commit | 67f8b5bd468fa8acef16f04e7e897aa47e8d6299 (patch) | |
tree | 251f61b38353923cd4d782f80fd2ecc66fb79f40 /gtk/gtktreesortable.c | |
parent | 6adcae811bea38163c01371c409942b1ba215cf3 (diff) | |
download | gtk+-67f8b5bd468fa8acef16f04e7e897aa47e8d6299.tar.gz |
Rename gtk_tree_sortable_sort_column_id_set_func. It's much shorter now.
Fri Jun 15 18:53:48 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func): Rename
gtk_tree_sortable_sort_column_id_set_func. It's much shorter now.
* gtk/gtktreeview.c (gtk_tree_view_sort_iter_changed): WOOO!!!
Now I can really reorder/sort all Store widgets. treesorttest
seems to just work now.
* gtk/gtklistview.c (gtk_list_store_iter_changed): Whoops.
testtreesort worked through a big coincidence all this time.
* gtk/gtkrbtree.c (_gtk_rbtree_reorder): Nasty bug fix in nasty
code.
* tests/testtreecolumns.c: Big 'ol warning at the top letting
people know that this code should never ever ever be copied.
HA!
While everyone else was busy flaming eash other over configuration
engines, I secretly got sorting completely working with store widgets
and GtkTreeView. GtkTreeModelSort, here I come!!!!!
Diffstat (limited to 'gtk/gtktreesortable.c')
-rw-r--r-- | gtk/gtktreesortable.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtktreesortable.c b/gtk/gtktreesortable.c index 2eda8870e3..ab50ce73c7 100644 --- a/gtk/gtktreesortable.c +++ b/gtk/gtktreesortable.c @@ -114,11 +114,11 @@ gtk_tree_sortable_set_sort_column_id (GtkTreeSortable *sortable, } void -gtk_tree_sortable_sort_column_id_set_func (GtkTreeSortable *sortable, - gint sort_column_id, - GtkTreeIterCompareFunc func, - gpointer data, - GtkDestroyNotify destroy) +gtk_tree_sortable_set_sort_func (GtkTreeSortable *sortable, + gint sort_column_id, + GtkTreeIterCompareFunc func, + gpointer data, + GtkDestroyNotify destroy) { GtkTreeSortableIface *iface; @@ -128,9 +128,9 @@ gtk_tree_sortable_sort_column_id_set_func (GtkTreeSortable *sortable, iface = GTK_TREE_SORTABLE_GET_IFACE (sortable); g_return_if_fail (iface != NULL); - g_return_if_fail (iface->sort_column_id_set_func != NULL); + g_return_if_fail (iface->set_sort_func != NULL); - (* iface->sort_column_id_set_func) (sortable, sort_column_id, func, data, destroy); + (* iface->set_sort_func) (sortable, sort_column_id, func, data, destroy); } |