summaryrefslogtreecommitdiff
path: root/gtk/gtktreestore.h
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-09-03 23:37:39 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-09-03 23:37:39 +0000
commit43405a3d77249aed3357af092225dc74ff73aff5 (patch)
treee40f4d3afd45277f81770829c172fffbef5e03c3 /gtk/gtktreestore.h
parent8249e6275a27f6084eceafa93153b9ccb7d330e2 (diff)
downloadgtk+-43405a3d77249aed3357af092225dc74ff73aff5.tar.gz
handle default sort feature
Mon Sep 3 18:03:56 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func): handle default sort feature * gtk/gtktreesortable.c (gtk_tree_sortable_set_default_sort_func): new function to handle default sort. (gtk_tree_sortable_has_default_sort_func): check if default sort is set. * gtk/gtkliststore.c (gtk_list_store_set_default_sort_func): handle default sort feature
Diffstat (limited to 'gtk/gtktreestore.h')
-rw-r--r--gtk/gtktreestore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtktreestore.h b/gtk/gtktreestore.h
index fd2d8da742..508a4c2867 100644
--- a/gtk/gtktreestore.h
+++ b/gtk/gtktreestore.h
@@ -50,6 +50,9 @@ struct _GtkTreeStore
GList *sort_list;
GtkSortType order;
GType *column_headers;
+ GtkTreeIterCompareFunc default_sort_func;
+ gpointer default_sort_data;
+ GtkDestroyNotify default_sort_destroy;
};
struct _GtkTreeStoreClass