diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-27 12:12:55 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-29 12:45:49 -0500 |
commit | 768bc44081550be18ee19697ed36b5f92298ef11 (patch) | |
tree | 8a0600c37dd2cc07fb00426c76922d3e3f1085e5 /gtk/gtkcontainer.c | |
parent | a74ea0770dfc3c7feaa156ab26c26b44162d1820 (diff) | |
download | gtk+-768bc44081550be18ee19697ed36b5f92298ef11.tar.gz |
docs: use |[ ]| instead of <programlisting></programlisting>
https://bugzilla.gnome.org/show_bug.cgi?id=723119
Diffstat (limited to 'gtk/gtkcontainer.c')
-rw-r--r-- | gtk/gtkcontainer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index ae759e9ed1..de42b916f7 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -108,7 +108,7 @@ * the container must return the height for its minimum width. This is easily achieved by * simply calling the reverse apis implemented for itself as follows: * - * <programlisting><![CDATA[ + * |[ * static void * foo_container_get_preferred_height (GtkWidget *widget, gint *min_height, gint *nat_height) * { @@ -127,12 +127,12 @@ * stacked vertically (or whatever is appropriate for this container) ... * } * } - * ]]></programlisting> + * ]| * * Similarly, when gtk_widget_get_preferred_width_for_height() is called for a container or widget * that is height-for-width, it then only needs to return the base minimum width like so: * - * <programlisting><![CDATA[ + * |[ * static void * foo_container_get_preferred_width_for_height (GtkWidget *widget, gint for_height, * gint *min_width, gint *nat_width) @@ -147,7 +147,7 @@ * of the children collectively if the container were to be allocated the said height ... * } * } - * ]]></programlisting> + * ]| * * Height for width requests are generally implemented in terms of a virtual allocation * of widgets in the input orientation. Assuming an height-for-width request mode, a container @@ -213,7 +213,7 @@ * child properties for the child. * <example> * <title>Child properties in UI definitions</title> - * <programlisting><![CDATA[ + * |[ * <object class="GtkVBox"> * <child> * <object class="GtkLabel"/> @@ -222,7 +222,7 @@ * </packing> * </child> * </object> - * ]]></programlisting> + * ]| * </example> * Since 2.16, child properties can also be marked as translatable using * the same "translatable", "comments" and "context" attributes that are used |