]> Pileus Git - ~andy/gtk/commitdiff
change new_root to new_first to avoid confusion.
authorJonathan Blandford <jrb@redhat.com>
Sun, 24 Feb 2002 03:43:08 +0000 (03:43 +0000)
committerJonathan Blandford <jrb@src.gnome.org>
Sun, 24 Feb 2002 03:43:08 +0000 (03:43 +0000)
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.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktreemodel.c
gtk/gtktreemodel.h

index 59259f0903165c8e00a91ab846ae5e77042acc5d..3f85ee8db43c11e106326128f3ce3353862da065 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
 Sat Feb 23 20:59:05 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkstyle.c gtk/gtkrc.[ch]: gtk/gtksettings.c gtk/gtkstyle.c:
index 59259f0903165c8e00a91ab846ae5e77042acc5d..3f85ee8db43c11e106326128f3ce3353862da065 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 Sat Feb 23 20:59:05 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkstyle.c gtk/gtkrc.[ch]: gtk/gtksettings.c gtk/gtkstyle.c:
index 59259f0903165c8e00a91ab846ae5e77042acc5d..3f85ee8db43c11e106326128f3ce3353862da065 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 Sat Feb 23 20:59:05 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkstyle.c gtk/gtkrc.[ch]: gtk/gtksettings.c gtk/gtkstyle.c:
index 59259f0903165c8e00a91ab846ae5e77042acc5d..3f85ee8db43c11e106326128f3ce3353862da065 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 Sat Feb 23 20:59:05 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkstyle.c gtk/gtkrc.[ch]: gtk/gtksettings.c gtk/gtkstyle.c:
index 59259f0903165c8e00a91ab846ae5e77042acc5d..3f85ee8db43c11e106326128f3ce3353862da065 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 Sat Feb 23 20:59:05 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkstyle.c gtk/gtkrc.[ch]: gtk/gtksettings.c gtk/gtkstyle.c:
index 59259f0903165c8e00a91ab846ae5e77042acc5d..3f85ee8db43c11e106326128f3ce3353862da065 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 Sat Feb 23 20:59:05 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkstyle.c gtk/gtkrc.[ch]: gtk/gtksettings.c gtk/gtkstyle.c:
index 59259f0903165c8e00a91ab846ae5e77042acc5d..3f85ee8db43c11e106326128f3ce3353862da065 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 Sat Feb 23 20:59:05 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkstyle.c gtk/gtkrc.[ch]: gtk/gtksettings.c gtk/gtkstyle.c:
index a17b5aae389560133a12af7d0e9e1b8f2b8cb46c..bc941d2608a1e1b6b66111870158a006f85dea6d 100644 (file)
@@ -226,15 +226,14 @@ gtk_tree_path_to_string (GtkTreePath *path)
 }
 
 /**
- * gtk_tree_path_new_root:
+ * gtk_tree_path_new_first:
  *
- * Creates a new root #GtkTreePath.  The string representation of this path is
- * "0"
+ * Creates a new #GtkTreePath.  The string representation of this path is "0"
  *
  * Return value: A new #GtkTreePath.
  **/
 GtkTreePath *
-gtk_tree_path_new_root (void)
+gtk_tree_path_new_first (void)
 {
   GtkTreePath *retval;
 
@@ -687,18 +686,18 @@ gtk_tree_model_get_iter_from_string (GtkTreeModel *tree_model,
 
 
 /**
- * gtk_tree_model_get_iter_root:
+ * gtk_tree_model_get_iter_first:
  * @tree_model: A #GtkTreeModel.
  * @iter: The uninitialized #GtkTreeIter.
  * 
- * Initializes @iter with the root iterator in the tree (the one at the root
- * path) and returns %TRUE.   Returns %FALSE if the tree is empty.
+ * Initializes @iter with the first iterator in the tree (the one at the path
+ * "0") and returns %TRUE.  Returns %FALSE if the tree is empty.
  * 
  * Return value: %TRUE, if @iter was set.
  **/
 gboolean
-gtk_tree_model_get_iter_root (GtkTreeModel *tree_model,
-                             GtkTreeIter  *iter)
+gtk_tree_model_get_iter_first (GtkTreeModel *tree_model,
+                              GtkTreeIter  *iter)
 {
   GtkTreePath *path;
   gboolean retval;
index 7f59a3e5f19b9299b747f83ce8fa3d4f7cad5f8c..a94350e77bab8a856f65808c2d765532bd6e6335 100644 (file)
@@ -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);