diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-02-04 16:57:57 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-02-04 16:58:54 -0500 |
commit | 63e887e165a308cfc5899123d9572ffc3b6da92a (patch) | |
tree | da5a3489443cde66aceeeb77a29e69004b6842c1 /gtk/gtktreemodel.c | |
parent | 28376c26002cd7e9d353a9aadb880a54b7d3374d (diff) | |
download | gtk+-63e887e165a308cfc5899123d9572ffc3b6da92a.tar.gz |
docs: replace all <examples> with markdown headings
Diffstat (limited to 'gtk/gtktreemodel.c')
-rw-r--r-- | gtk/gtktreemodel.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gtk/gtktreemodel.c b/gtk/gtktreemodel.c index 931d9ff766..f12309bf76 100644 --- a/gtk/gtktreemodel.c +++ b/gtk/gtktreemodel.c @@ -114,8 +114,8 @@ * easier, the second is much more common, as you often get paths from * callbacks. * - * <example> - * <title>Acquiring a #GtkTreeIter-struct</title> + * ## Acquiring a #GtkTreeIter-struct + * * |[<!-- language="C" --> * /* Three ways of getting the iter pointing to the location */ * GtkTreePath *path; @@ -137,7 +137,6 @@ * parent_iter = iter; * gtk_tree_model_iter_nth_child (model, &iter, &parent_iter, 5); * ]| - * </example> * * This second example shows a quick way of iterating through a list * and getting a string and an integer from each row. The @@ -145,8 +144,8 @@ * shown, as it is specific to the #GtkListStore. For information on * how to write such a function, see the #GtkListStore documentation. * - * <example> - * <title>Reading data from a #GtkTreeModel</title> + * ## Reading data from a #GtkTreeModel + * * |[<!-- language="C" --> * enum * { @@ -192,7 +191,6 @@ * row_count++; * } * ]| - * </example> * * The #GtkTreeModel interface contains two methods for reference * counting: gtk_tree_model_ref_node() and gtk_tree_model_unref_node(). |