forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
82b76bbee3
commit
5d973ef32e
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user