diff options
author | Jonathan Blandford <jrb@redhat.com> | 2002-02-24 03:43:08 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2002-02-24 03:43:08 +0000 |
commit | 5d973ef32ed01f9711aaebf68035664e0c976053 (patch) | |
tree | 02909449b09091384ffa91ab3d62e4bf03166521 /gtk/gtktreemodel.h | |
parent | 82b76bbee349f681af1ea93f3f4015b5a8210e99 (diff) | |
download | gtk+-5d973ef32ed01f9711aaebf68035664e0c976053.tar.gz |
change new_root to new_first to avoid confusion.
Sat Feb 23 22:10:52 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_path_new_first): change new_root to
new_first to avoid confusion.
(gtk_tree_model_get_iter_first): ditto.
Diffstat (limited to 'gtk/gtktreemodel.h')
-rw-r--r-- | gtk/gtktreemodel.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtktreemodel.h b/gtk/gtktreemodel.h index 7f59a3e5f1..a94350e77b 100644 --- a/gtk/gtktreemodel.h +++ b/gtk/gtktreemodel.h @@ -114,7 +114,8 @@ struct _GtkTreeModelIface GtkTreePath *gtk_tree_path_new (void); GtkTreePath *gtk_tree_path_new_from_string (const gchar *path); gchar *gtk_tree_path_to_string (GtkTreePath *path); -GtkTreePath *gtk_tree_path_new_root (void); +#define gtk_tree_path_new_root gtk_tree_path_new_first +GtkTreePath *gtk_tree_path_new_first (void); void gtk_tree_path_append_index (GtkTreePath *path, gint index); void gtk_tree_path_prepend_index (GtkTreePath *path, @@ -177,7 +178,8 @@ gboolean gtk_tree_model_get_iter (GtkTreeModel *tree_model, gboolean gtk_tree_model_get_iter_from_string (GtkTreeModel *tree_model, GtkTreeIter *iter, const gchar *path_string); -gboolean gtk_tree_model_get_iter_root (GtkTreeModel *tree_model, +#define gtk_tree_model_get_iter_root(tree_model, iter) gtk_tree_model_get_iter_first(tree_model, iter) +gboolean gtk_tree_model_get_iter_first (GtkTreeModel *tree_model, GtkTreeIter *iter); GtkTreePath * gtk_tree_model_get_path (GtkTreeModel *tree_model, GtkTreeIter *iter); |