From cade4d6f19b356eb7eaea9963263cbbe8d95e2de Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 31 Jan 2014 22:14:01 -0500 Subject: [PATCH] Fix the docs build --- gio/gtask.c | 9 ++++++--- gio/gtestdbus.c | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gio/gtask.c b/gio/gtask.c index fa7b47ccb..dc2394f44 100644 --- a/gio/gtask.c +++ b/gio/gtask.c @@ -160,7 +160,7 @@ * source to fire (automatically using the correct #GMainContext * and priority). * - * + * * Here is an example for chained asynchronous operations: * |[ * typedef struct { @@ -288,6 +288,7 @@ * return g_task_propagate_pointer (G_TASK (result), error); * } * ]| + * * * * Asynchronous operations from synchronous ones @@ -297,7 +298,7 @@ * which will then dispatch the result back to the caller's * #GMainContext when it completes. * - * + * * Running a task in a thread: * |[ * typedef struct { @@ -367,6 +368,7 @@ * return g_task_propagate_pointer (G_TASK (result), error); * } * ]| + * * * * Adding cancellability to uncancellable tasks @@ -383,7 +385,7 @@ * to make "GLib-friendly" asynchronous and cancellable * synchronous variants of blocking APIs. * - * + * * Cancelling a task: * |[ * static void @@ -475,6 +477,7 @@ * return cake; * } * ]| + * * * * Porting from <literal>GSimpleAsyncResult</literal> diff --git a/gio/gtestdbus.c b/gio/gtestdbus.c index e059a724f..128d4bd69 100644 --- a/gio/gtestdbus.c +++ b/gio/gtestdbus.c @@ -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 * uninstalled service executable in your source tree. Using autotools we would * achieve this by adding a file such as my-server.service.in - * in the services - * directory and have it processed by configure. + * in the services directory and have it processed by configure. * |[ * [D-BUS Service] * Name=org.gtk.GDBus.Examples.ObjectManager @@ -365,6 +364,7 @@ _g_test_watcher_remove_pid (GPid pid) * * 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. + * * Test Fixture for D-Bus services * *