From 63e887e165a308cfc5899123d9572ffc3b6da92a Mon Sep 17 00:00:00 2001 From: William Jon McCann <william.jon.mccann@gmail.com> Date: Tue, 4 Feb 2014 16:57:57 -0500 Subject: docs: replace all <examples> with markdown headings --- gtk/gtktreemodelsort.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'gtk/gtktreemodelsort.c') diff --git a/gtk/gtktreemodelsort.c b/gtk/gtktreemodelsort.c index f545ae7eb3..9d294e82b6 100644 --- a/gtk/gtktreemodelsort.c +++ b/gtk/gtktreemodelsort.c @@ -50,8 +50,8 @@ * simply put the same model in each widget, then sorting the first would * sort the second. * - * <example> - * <title>Using a #GtkTreeModelSort</title> + * ## Using a #GtkTreeModelSort + * * |[<!-- language="C" --> * { * GtkTreeView *tree_view1; @@ -78,7 +78,6 @@ * COLUMN_1, GTK_SORT_DESCENDING); * } * ]| - * </example> * * To demonstrate how to access the underlying child model from the sort * model, the next example will be a callback for the #GtkTreeSelection @@ -86,8 +85,8 @@ * from COLUMN_1 of the model. We then modify the string, find the same * selected row on the child model, and change the row there. * - * <example> - * <title>Accessing the child model of in a selection changed callback</title> + * ## Accessing the child model of in a selection changed callback + * * |[<!-- language="C" --> * void * selection_changed (GtkTreeSelection *selection, gpointer data) @@ -131,7 +130,6 @@ * g_free (modified_data); * } * ]| - * </example> */ -- cgit v1.2.1