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/gtkcelllayout.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/gtkcelllayout.c')
-rw-r--r-- | gtk/gtkcelllayout.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkcelllayout.c b/gtk/gtkcelllayout.c index 41d9e2eb41..36958b235a 100644 --- a/gtk/gtkcelllayout.c +++ b/gtk/gtkcelllayout.c @@ -48,7 +48,7 @@ * * <example> * <title>A UI definition fragment specifying attributes</title> - * <programlisting><![CDATA[ + * |[ * <object class="GtkCellView"> * <child> * <object class="GtkCellRendererText"/> @@ -57,7 +57,7 @@ * </attributes> * </child>" * </object> - * ]]></programlisting> + * ]| * </example> * * Furthermore for implementations of GtkCellLayout that use a #GtkCellArea @@ -67,7 +67,7 @@ * can contain multiple <property> elements defined in the normal way. * <example> * <title>A UI definition fragment specifying cell properties</title> - * <programlisting><![CDATA[ + * |[ * <object class="GtkTreeViewColumn"> * <child> * <object class="GtkCellRendererText"/> @@ -77,7 +77,7 @@ * </cell-packing> * </child>" * </object> - * ]]></programlisting> + * ]| * </example> * </para> * </refsect2> @@ -90,9 +90,9 @@ * to the fact that these widgets internally use a #GtkCellArea. * The cell area is exposed as a construct-only property by these * widgets. This means that it is possible to e.g. do - * <informalexample><programlisting> + * |[ * combo = g_object_new (GTK_TYPE_COMBO_BOX, "cell-area", my_cell_area, NULL); - * </programlisting></informalexample> + * ]| * to use a custom cell area with a combo box. But construct properties * are only initialized after instance init() * functions have run, which means that using functions which rely on @@ -100,7 +100,7 @@ * cause the default cell area to be instantiated. In this case, a provided * construct property value will be ignored (with a warning, to alert * you to the problem). - * <informalexample><programlisting> + * |[ * static void * my_combo_box_init (MyComboBox *b) * { @@ -122,7 +122,7 @@ * */ * return g_object_new (MY_TYPE_COMBO_BOX, "cell-area", area, NULL); * } - * </programlisting></informalexample> + * ]| * If supporting alternative cell areas with your derived widget is * not important, then this does not have to concern you. If you want * to support alternative cell areas, you can do so by moving the |