diff options
author | Jonathan Blandford <jrb@redhat.com> | 2001-10-29 18:56:00 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-10-29 18:56:00 +0000 |
commit | b5ccbdfb675092f2b670a047120137e260130949 (patch) | |
tree | 1bdbc144373390a9ac1bac2bcf81eda63c69a0ed /tests | |
parent | 326f771536de9e9b621a211161827a2f02d43c5e (diff) | |
download | gdk-pixbuf-b5ccbdfb675092f2b670a047120137e260130949.tar.gz |
fix reordered signal.
Mon Oct 29 13:54:49 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): fix
reordered signal.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testtreesort.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/testtreesort.c b/tests/testtreesort.c index 3b18be6f0..8cdcb116f 100644 --- a/tests/testtreesort.c +++ b/tests/testtreesort.c @@ -163,9 +163,9 @@ main (int argc, char *argv[]) gtk_tree_view_append_column (GTK_TREE_VIEW (tree_view), column); - gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (smodel), + /* gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (smodel), WORD_COLUMN_1, - GTK_SORT_ASCENDING); + GTK_SORT_ASCENDING);*/ gtk_container_add (GTK_CONTAINER (scrolled_window), tree_view); gtk_window_set_default_size (GTK_WINDOW (window), 400, 400); @@ -230,12 +230,13 @@ main (int argc, char *argv[]) gtk_tree_view_column_set_sort_column_id (column, WORD_COLUMN_4); gtk_tree_view_append_column (GTK_TREE_VIEW (tree_view2), column); - gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (smodel), + /* gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (smodel), (GtkTreeIterCompareFunc)gtk_tree_data_list_compare_func, NULL, NULL); gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (smodel), WORD_COLUMN_1, - GTK_SORT_DESCENDING); + GTK_SORT_DESCENDING);*/ + gtk_container_add (GTK_CONTAINER (scrolled_window2), tree_view2); gtk_window_set_default_size (GTK_WINDOW (window2), 400, 400); @@ -301,12 +302,12 @@ main (int argc, char *argv[]) gtk_tree_view_column_set_sort_column_id (column, WORD_COLUMN_4); gtk_tree_view_append_column (GTK_TREE_VIEW (tree_view3), column); - gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (ssmodel), + /* gtk_tree_sortable_set_default_sort_func (GTK_TREE_SORTABLE (ssmodel), (GtkTreeIterCompareFunc)gtk_tree_data_list_compare_func, NULL, NULL); gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (ssmodel), WORD_COLUMN_1, - GTK_SORT_ASCENDING); + GTK_SORT_ASCENDING);*/ gtk_container_add (GTK_CONTAINER (scrolled_window3), tree_view3); gtk_window_set_default_size (GTK_WINDOW (window3), 400, 400); |