From 2a5748310b9789c93c52a7e09c43a37f3a2a755f Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 14 Jan 2008 14:12:48 +0000 Subject: [PATCH] Clean up docs and example for GAsyncResult (#508074) 2008-01-14 Alexander Larsson * gasyncresult.c: Clean up docs and example for GAsyncResult (#508074) svn path=/trunk/; revision=6303 --- gio/ChangeLog | 5 +++++ gio/gasyncresult.c | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gio/ChangeLog b/gio/ChangeLog index 70b99ca39..ecb52eb2d 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,8 @@ +2008-01-14 Alexander Larsson + + * gasyncresult.c: + Clean up docs and example for GAsyncResult (#508074) + 2008-01-11 Murray Cumming * gfile.c: Clarify the sentence about GAsyncReadyCallback, diff --git a/gio/gasyncresult.c b/gio/gasyncresult.c index 7238918cf..be711654e 100644 --- a/gio/gasyncresult.c +++ b/gio/gasyncresult.c @@ -83,7 +83,6 @@ * * /* ... */ * - * g_free (res); * } * * int main (int argc, void *argv[]) @@ -103,8 +102,8 @@ * always called, even in the case of a cancelled operation. On cancellation * the result is a %G_IO_ERROR_CANCELLED error. * - * Some ascynchronous operations are implemented using synchronous call. These - * are run in a separate #GThread has been initialized, but otherwise they + * Some ascynchronous operations are implemented using synchronous calls. These + * are run in a separate thread, if #GThread has been initialized, but otherwise they * are sent to the Main Event Loop and processed in an idle function. So, if you * truly need asynchronous operations, make sure to initialize #GThread. **/