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 /gdk/gdkdisplaymanager.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 'gdk/gdkdisplaymanager.c')
-rw-r--r-- | gdk/gdkdisplaymanager.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdk/gdkdisplaymanager.c b/gdk/gdkdisplaymanager.c index 94f857eb52..2262722d31 100644 --- a/gdk/gdkdisplaymanager.c +++ b/gdk/gdkdisplaymanager.c @@ -87,7 +87,7 @@ * * <example id="backend-specific"> * <title>Backend-specific code</title> - * <programlisting> + * |[ * #ifdef GDK_WINDOWING_X11 * if (GDK_IS_X11_DISPLAY (display)) * { @@ -103,7 +103,7 @@ * else * #endif * g_error ("Unsupported GDK backend"); - * </programlisting> + * ]| * </example> */ @@ -225,9 +225,9 @@ static const gchar *allowed_backends; * By default, GDK tries all included backends. * * For example, - * <programlisting> + * |[ * gdk_set_allowed_backends ("wayland,quartz,*"); - * </programlisting> + * ]| * instructs GDK to try the Wayland backend first, * followed by the Quartz backend, and then all * others. |