summaryrefslogtreecommitdiff
path: root/gtk/gtktreemodelsort.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-27 12:12:55 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-29 12:45:49 -0500
commit768bc44081550be18ee19697ed36b5f92298ef11 (patch)
tree8a0600c37dd2cc07fb00426c76922d3e3f1085e5 /gtk/gtktreemodelsort.c
parenta74ea0770dfc3c7feaa156ab26c26b44162d1820 (diff)
downloadgtk+-768bc44081550be18ee19697ed36b5f92298ef11.tar.gz
docs: use |[ ]| instead of <programlisting></programlisting>
https://bugzilla.gnome.org/show_bug.cgi?id=723119
Diffstat (limited to 'gtk/gtktreemodelsort.c')
-rw-r--r--gtk/gtktreemodelsort.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtktreemodelsort.c b/gtk/gtktreemodelsort.c
index 54b369697f..3afe77d72b 100644
--- a/gtk/gtktreemodelsort.c
+++ b/gtk/gtktreemodelsort.c
@@ -52,7 +52,7 @@
*
* <example>
* <title>Using a #GtkTreeModelSort</title>
- * <programlisting>
+ * |[
* {
* GtkTreeView *tree_view1;
* GtkTreeView *tree_view2;
@@ -77,7 +77,7 @@
* gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (sort_model2),
* COLUMN_1, GTK_SORT_DESCENDING);
* }
- * </programlisting>
+ * ]|
* </example>
*
* To demonstrate how to access the underlying child model from the sort
@@ -88,7 +88,7 @@
*
* <example>
* <title>Accessing the child model of in a selection changed callback</title>
- * <programlisting>
+ * |[
* void
* selection_changed (GtkTreeSelection *selection, gpointer data)
* {
@@ -130,7 +130,7 @@
* -1);
* g_free (modified_data);
* }
- * </programlisting>
+ * ]|
* </example>
*/