mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-20 15:15:15 +01:00
Fix a typo
...and some whitespace fixes. Pointed out by Will Thompson in bug 602417.
This commit is contained in:
@@ -53,8 +53,8 @@
|
|||||||
* of the operation is not needed, there is no need to call the
|
* of the operation is not needed, there is no need to call the
|
||||||
* "_finish()" function, GIO will take care of cleaning up the
|
* "_finish()" function, GIO will take care of cleaning up the
|
||||||
* result and error information after the #GAsyncReadyCallback
|
* result and error information after the #GAsyncReadyCallback
|
||||||
* returns. It is also allowed to take a reference to the #GAsyncResult and
|
* returns. It is also allowed to take a reference to the #GAsyncResult
|
||||||
* call "_finish()" later.
|
* and call "_finish()" later.
|
||||||
*
|
*
|
||||||
* Example of a typical asynchronous operation flow:
|
* Example of a typical asynchronous operation flow:
|
||||||
* |[
|
* |[
|
||||||
@@ -102,10 +102,11 @@
|
|||||||
* always called, even in the case of a cancelled operation. On cancellation
|
* always called, even in the case of a cancelled operation. On cancellation
|
||||||
* the result is a %G_IO_ERROR_CANCELLED error.
|
* the result is a %G_IO_ERROR_CANCELLED error.
|
||||||
*
|
*
|
||||||
* Some ascynchronous operations are implemented using synchronous calls. These
|
* Some asynchronous operations are implemented using synchronous calls.
|
||||||
* are run in a separate thread, if #GThread has been initialized, but otherwise they
|
* These are run in a separate thread, if #GThread has been initialized, but
|
||||||
* are sent to the Main Event Loop and processed in an idle function. So, if you
|
* otherwise they are sent to the Main Event Loop and processed in an idle
|
||||||
* truly need asynchronous operations, make sure to initialize #GThread.
|
* function. So, if you truly need asynchronous operations, make sure to
|
||||||
|
* initialize #GThread.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
typedef GAsyncResultIface GAsyncResultInterface;
|
typedef GAsyncResultIface GAsyncResultInterface;
|
||||||
|
|||||||
Reference in New Issue
Block a user