From 43405a3d77249aed3357af092225dc74ff73aff5 Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Mon, 3 Sep 2001 23:37:39 +0000 Subject: handle default sort feature Mon Sep 3 18:03:56 2001 Jonathan Blandford * 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 --- gtk/gtktreestore.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk/gtktreestore.h') 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 -- cgit v1.2.1