From 0ccb3e9aed43a9c2a8b77f7af5c29f4e23b4698d Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Fri, 27 Oct 2000 23:34:58 +0000 Subject: Not sure how this ever worked. Fixed it to use new iter stuff, and added Fri Oct 27 17:56:26 2000 Jonathan Blandford * 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. --- gtk/gtktreemodel.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'gtk/gtktreemodel.h') 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); -- cgit v1.2.1