summaryrefslogtreecommitdiff
path: root/gtk/gtksearchbar.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/gtksearchbar.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/gtksearchbar.c')
-rw-r--r--gtk/gtksearchbar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtksearchbar.c b/gtk/gtksearchbar.c
index c5ee8bde55..4cfee45cc2 100644
--- a/gtk/gtksearchbar.c
+++ b/gtk/gtksearchbar.c
@@ -56,11 +56,11 @@
*
* <example>
* <title>Creating a search bar</title>
- * <programlisting>
+ * |[
* <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../examples/search-bar.c">
* <xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback>
* </xi:include>
- * </programlisting>
+ * ]|
* </example>
*
* Since: 3.10
@@ -168,7 +168,7 @@ preedit_changed_cb (GtkEntry *entry,
*
* <example>
* <title>Showing the search bar on key presses</title>
- * <programlisting><![CDATA[
+ * |[
* static gboolean
* window_key_press_event_cb (GtkWidget *widget,
* GdkEvent *event,
@@ -179,7 +179,7 @@ preedit_changed_cb (GtkEntry *entry,
*
* g_signal_connect (window, "key-press-event",
* G_CALLBACK (window_key_press_event_cb), search_bar);
- * ]]></programlisting>
+ * ]|
* </example>
*
* Return value: %GDK_EVENT_STOP if the key press event resulted