From 921d8fb37765ecfc819e25ddfa9dd05b82981d74 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Tue, 23 Jan 2007 14:55:30 +0000 Subject: [PATCH] gtk_tree_path_next(): Add a note to the documentation about the changed 2007-01-23 Murray Cumming * gtk/gtktreemodel.c: gtk_tree_path_next(): Add a note to the documentation about the changed path being only a path to a potential node, so you must check that it really exists. svn path=/branches/gtk-2-10/; revision=17204 --- ChangeLog | 6 ++++++ gtk/gtktreemodel.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 03319d07df..1a2378142d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-23 Murray Cumming + + * gtk/gtktreemodel.c: gtk_tree_path_next(): + Add a note to the documentation about the changed path being only a + path to a potential node, so you must check that it really exists. + 2007-01-22 Matthias Clasen * configure.in: Bump version diff --git a/gtk/gtktreemodel.c b/gtk/gtktreemodel.c index 88022b805b..2213e95c77 100644 --- a/gtk/gtktreemodel.c +++ b/gtk/gtktreemodel.c @@ -775,7 +775,8 @@ gtk_tree_path_is_descendant (GtkTreePath *path, * gtk_tree_path_next: * @path: A #GtkTreePath. * - * Moves the @path to point to the next node at the current depth. + * Moves the @path to point to the next potential node at the current depth. + * You must use gtk_tree_model_get_iter() to discover whether a corresponding row actually exists. **/ void gtk_tree_path_next (GtkTreePath *path)