forked from AuroraMiddleware/gtk
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:
parent
47500a0e6e
commit
86685d2ad0
@ -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 ===
|
||||
|
@ -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, &iter, NULL, 3);
|
||||
gtk_tree_model_iter_nth_child (model, &iter, NULL, 3);
|
||||
parent_iter = iter;
|
||||
gtk_tree_model_get_nth_child (model, &iter, &parent_iter, 2);
|
||||
gtk_tree_model_iter_nth_child (model, &iter, &parent_iter, 2);
|
||||
parent_iter = iter;
|
||||
gtk_tree_model_get_nth_child (model, &iter, &parent_iter, 5);
|
||||
gtk_tree_model_iter_nth_child (model, &iter, &parent_iter, 5);
|
||||
}
|
||||
</programlisting>
|
||||
</example>
|
||||
|
Loading…
Reference in New Issue
Block a user