Fix the docs build

This commit is contained in:
Matthias Clasen 2014-01-31 22:14:01 -05:00
parent a4c33c6f8b
commit cade4d6f19
2 changed files with 8 additions and 5 deletions

View File

@ -160,7 +160,7 @@
* source to fire (automatically using the correct #GMainContext * source to fire (automatically using the correct #GMainContext
* and priority). * and priority).
* </para> * </para>
* * <para>
* Here is an example for chained asynchronous operations: * Here is an example for chained asynchronous operations:
* |[ * |[
* typedef struct { * typedef struct {
@ -288,6 +288,7 @@
* return g_task_propagate_pointer (G_TASK (result), error); * return g_task_propagate_pointer (G_TASK (result), error);
* } * }
* ]| * ]|
* </para>
* </refsect2> * </refsect2>
* <refsect2> * <refsect2>
* <title>Asynchronous operations from synchronous ones</title> * <title>Asynchronous operations from synchronous ones</title>
@ -297,7 +298,7 @@
* which will then dispatch the result back to the caller's * which will then dispatch the result back to the caller's
* #GMainContext when it completes. * #GMainContext when it completes.
* </para> * </para>
* * <para>
* Running a task in a thread: * Running a task in a thread:
* |[ * |[
* typedef struct { * typedef struct {
@ -367,6 +368,7 @@
* return g_task_propagate_pointer (G_TASK (result), error); * return g_task_propagate_pointer (G_TASK (result), error);
* } * }
* ]| * ]|
* </para>
* </refsect2> * </refsect2>
* <refsect2> * <refsect2>
* <title>Adding cancellability to uncancellable tasks</title> * <title>Adding cancellability to uncancellable tasks</title>
@ -383,7 +385,7 @@
* to make "GLib-friendly" asynchronous and cancellable * to make "GLib-friendly" asynchronous and cancellable
* synchronous variants of blocking APIs. * synchronous variants of blocking APIs.
* </para> * </para>
* * <para>
* Cancelling a task: * Cancelling a task:
* |[ * |[
* static void * static void
@ -475,6 +477,7 @@
* return cake; * return cake;
* } * }
* ]| * ]|
* </para>
* </refsect2> * </refsect2>
* <refsect2> * <refsect2>
* <title>Porting from <literal>GSimpleAsyncResult</literal></title> * <title>Porting from <literal>GSimpleAsyncResult</literal></title>

View File

@ -347,8 +347,7 @@ _g_test_watcher_remove_pid (GPid pid)
* The service file should list your service along with an absolute path to the * The service file should list your service along with an absolute path to the
* uninstalled service executable in your source tree. Using autotools we would * uninstalled service executable in your source tree. Using autotools we would
* achieve this by adding a file such as <filename>my-server.service.in</filename> * achieve this by adding a file such as <filename>my-server.service.in</filename>
* in the services * in the services directory and have it processed by configure.
* directory and have it processed by configure.
* |[ * |[
* [D-BUS Service] * [D-BUS Service]
* Name=org.gtk.GDBus.Examples.ObjectManager * Name=org.gtk.GDBus.Examples.ObjectManager
@ -365,6 +364,7 @@ _g_test_watcher_remove_pid (GPid pid)
* <para> * <para>
* Once you have a service definition file which is local to your source tree, * Once you have a service definition file which is local to your source tree,
* you can proceed to set up a GTest fixture using the #GTestDBus scaffolding. * you can proceed to set up a GTest fixture using the #GTestDBus scaffolding.
* <example>
* <title>Test Fixture for D-Bus services</title> * <title>Test Fixture for D-Bus services</title>
* <programlisting> * <programlisting>
* <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../gio/tests/gdbus-test-fixture.c"> * <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../gio/tests/gdbus-test-fixture.c">