summaryrefslogtreecommitdiff
path: root/gtk/gtkmenu.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/gtkmenu.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/gtkmenu.c')
-rw-r--r--gtk/gtkmenu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 22317cf990..dfd217d041 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -45,16 +45,16 @@
*
* <example>
* <title>Connecting the popup signal handler.</title>
- * <programlisting>
+ * |[
* /<!---->* connect our handler which will popup the menu *<!---->/
* g_signal_connect_swapped (window, "button_press_event",
* G_CALLBACK (my_popup_handler), menu);
- * </programlisting>
+ * ]|
* </example>
*
* <example>
* <title>Signal handler which displays a popup menu.</title>
- * <programlisting>
+ * |[
* static gint
* my_popup_handler (GtkWidget *widget, GdkEvent *event)
* {
@@ -83,7 +83,7 @@
*
* return FALSE;
* }
- * </programlisting>
+ * ]|
* </example>
*/