docs: use |[ ]| instead of <programlisting></programlisting>

https://bugzilla.gnome.org/show_bug.cgi?id=723119
This commit is contained in:
William Jon McCann
2014-01-27 12:12:55 -05:00
parent a74ea0770d
commit 768bc44081
77 changed files with 328 additions and 358 deletions

View File

@ -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>
*/