diff options
author | Jonathan Blandford <jrb@redhat.com> | 2000-10-27 23:34:58 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2000-10-27 23:34:58 +0000 |
commit | 0ccb3e9aed43a9c2a8b77f7af5c29f4e23b4698d (patch) | |
tree | a01d83d5374da6025125c53fd36aefb4396a2556 /gtk/gtktreemodel.h | |
parent | 2bf87de4cb334a850aa2226b9118b302140f71e2 (diff) | |
download | gtk+-0ccb3e9aed43a9c2a8b77f7af5c29f4e23b4698d.tar.gz |
Not sure how this ever worked. Fixed it to use new iter stuff, and added
Fri Oct 27 17:56:26 2000 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c: Not sure how this ever worked. Fixed it to
use new iter stuff, and added all the appropriate signals et al.
* gtk/gtktreedatalist.h: s/gtk/_gtk to further reinforce that this
code is internal to gtk only.
Diffstat (limited to 'gtk/gtktreemodel.h')
-rw-r--r-- | gtk/gtktreemodel.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gtk/gtktreemodel.h b/gtk/gtktreemodel.h index 364a3c8d9c..fce77d6071 100644 --- a/gtk/gtktreemodel.h +++ b/gtk/gtktreemodel.h @@ -71,11 +71,9 @@ struct _GtkTreeModelIface gboolean (* get_iter) (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path); - gboolean (* iter_invalid) (GtkTreeModel *tree_model, - GtkTreeIter *iter); GtkTreePath *(* get_path) (GtkTreeModel *tree_model, GtkTreeIter *iter); - void (* iter_get_value) (GtkTreeModel *tree_model, + void (* get_value) (GtkTreeModel *tree_model, GtkTreeIter *iter, gint column, GValue *value); @@ -83,7 +81,7 @@ struct _GtkTreeModelIface GtkTreeIter *iter); gboolean (* iter_children) (GtkTreeModel *tree_model, GtkTreeIter *iter, - GtkTreeIter *child); + GtkTreeIter *parent); gboolean (* iter_has_child) (GtkTreeModel *tree_model, GtkTreeIter *iter); gint (* iter_n_children) (GtkTreeModel *tree_model, @@ -94,7 +92,7 @@ struct _GtkTreeModelIface gint n); gboolean (* iter_parent) (GtkTreeModel *tree_model, GtkTreeIter *iter, - GtkTreeIter *parent); + GtkTreeIter *child); }; @@ -133,11 +131,9 @@ GType gtk_tree_model_get_column_type (GtkTreeModel *tree_model, gboolean gtk_tree_model_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path); -gboolean gtk_tree_model_iter_invalid (GtkTreeModel *tree_model, - GtkTreeIter *iter); GtkTreePath *gtk_tree_model_get_path (GtkTreeModel *tree_model, GtkTreeIter *iter); -void gtk_tree_model_iter_get_value (GtkTreeModel *tree_model, +void gtk_tree_model_get_value (GtkTreeModel *tree_model, GtkTreeIter *iter, gint column, GValue *value); |