summaryrefslogtreecommitdiff
path: root/gtk/gtkliststore.h
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-03-23 00:35:19 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-03-23 00:35:19 +0000
commit21fd434c5f528546a35036b4cfce6a708a4c2762 (patch)
tree86ff9f050f2a04d6154d608e211c32b561f8ebfd /gtk/gtkliststore.h
parent18b5348b4838c99b85f14e4f0e351facef26b261 (diff)
downloadgtk+-21fd434c5f528546a35036b4cfce6a708a4c2762.tar.gz
fix braino. New interface to add cleanup sortable support.
Thu Mar 22 19:27:34 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): fix braino. * gtk/gtktreesortable.[ch]: New interface to add cleanup sortable support. * gtk/gtktreeview.c: Addition of initial sortable support. * gtk/gtktreestore.c: Addition of initial sortable support. * gtk/gtkliststore.c: Addition of initial sortable support. * gtk/gtkmarshal.list: yet another marshaller. * gtk/gtktreedatallist.[ch]: shared code between the store models for handling sorting headers.
Diffstat (limited to 'gtk/gtkliststore.h')
-rw-r--r--gtk/gtkliststore.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkliststore.h b/gtk/gtkliststore.h
index 4406bd74bc..5ab9a8d144 100644
--- a/gtk/gtkliststore.h
+++ b/gtk/gtkliststore.h
@@ -21,6 +21,7 @@
#define __GTK_LIST_STORE_H__
#include <gtk/gtktreemodel.h>
+#include <gtk/gtktreesortable.h>
#ifdef __cplusplus
extern "C" {
@@ -42,8 +43,11 @@ struct _GtkListStore
/*< private >*/
gint stamp;
gpointer root;
- GSList *tail;
+ gpointer tail;
+ GList *sort_list;
gint n_columns;
+ gint sort_column_id;
+ GtkTreeSortOrder order;
GType *column_headers;
gint length;
};