Fix an example. (#313595, Olexiy Avramchenko)

2005-08-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtktreemodel.sgml: Fix an
	example.  (#313595, Olexiy Avramchenko)
This commit is contained in:
Matthias Clasen 2005-08-17 03:18:00 +00:00 committed by Matthias Clasen
parent 47500a0e6e
commit 86685d2ad0
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2005-08-16 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtktreemodel.sgml: Fix an
example. (#313595, Olexiy Avramchenko)
2005-08-13 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.0 ===

View File

@ -121,11 +121,11 @@ the second is much more common, as you often get paths from callbacks.
/* walk the tree to find the iterator */
gtk_tree_model_get_nth_child (model, &amp;iter, NULL, 3);
gtk_tree_model_iter_nth_child (model, &amp;iter, NULL, 3);
parent_iter = iter;
gtk_tree_model_get_nth_child (model, &amp;iter, &amp;parent_iter, 2);
gtk_tree_model_iter_nth_child (model, &amp;iter, &amp;parent_iter, 2);
parent_iter = iter;
gtk_tree_model_get_nth_child (model, &amp;iter, &amp;parent_iter, 5);
gtk_tree_model_iter_nth_child (model, &amp;iter, &amp;parent_iter, 5);
}
</programlisting>
</example>