diff options
author | Kristian Rietveld <kristian@planet.nl> | 2001-09-02 21:47:12 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2001-09-02 21:47:12 +0000 |
commit | 109cda6bd216cc738f86615ff7e87cf3bcf93590 (patch) | |
tree | fecd9835760c847c9d89db788fb3df0f9fca704c /gtk/gtktreemodelsort.h | |
parent | 9a4b995b8e018cc43fa650459406796006af6642 (diff) | |
download | gtk+-109cda6bd216cc738f86615ff7e87cf3bcf93590.tar.gz |
much changes in an attempt to make it working. It mostly works now,
Sun Sep 2 23:27:16 2001 Kristian Rietveld <kristian@planet.nl>
* gtk/gtktreemodelsort.[ch]: much changes in an attempt to make
it working. It mostly works now, although there're still a few issues
to be worked out.
* tests/testtreesort.c (main): changes to have a better test
application for the GtkTreeModelSort.
Diffstat (limited to 'gtk/gtktreemodelsort.h')
-rw-r--r-- | gtk/gtktreemodelsort.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk/gtktreemodelsort.h b/gtk/gtktreemodelsort.h index b2ead811f5..73d79c9f45 100644 --- a/gtk/gtktreemodelsort.h +++ b/gtk/gtktreemodelsort.h @@ -37,9 +37,6 @@ extern "C" { typedef struct _GtkTreeModelSort GtkTreeModelSort; typedef struct _GtkTreeModelSortClass GtkTreeModelSortClass; -typedef gint (* GValueCompareFunc) (const GValue *a, - const GValue *b); - struct _GtkTreeModelSort { GObject parent; @@ -49,6 +46,7 @@ struct _GtkTreeModelSort gint stamp; guint flags; GtkTreeModel *child_model; + gboolean cache_child_iters; /* sort information */ GList *sort_list; @@ -60,6 +58,7 @@ struct _GtkTreeModelSort guint inserted_id; guint has_child_toggled_id; guint deleted_id; + guint reordered_id; }; struct _GtkTreeModelSortClass @@ -76,8 +75,6 @@ void gtk_tree_model_sort_set_model (GtkTreeModelSort *tree_model_ GtkTreeModel *gtk_tree_model_sort_get_model (GtkTreeModelSort *tree_model); GtkTreePath *gtk_tree_model_sort_convert_path (GtkTreeModelSort *tree_model_sort, GtkTreePath *child_path); - -/* FIXME: not implemented yet */ void gtk_tree_model_sort_convert_iter (GtkTreeModelSort *tree_model_sort, GtkTreeIter *sort_iter, GtkTreeIter *child_iter); |