For async functions that have no non-async version, document that the

2008-01-15  Murray Cumming  <murrayc@murrayc.com>

* gdrive.c:
* gfile.c:
* gmount.c:
* gvolume.c: For async functions that have no non-async 
version, document that the GAsyncReadyCallback may be NULL.
Bug #509626.

svn path=/trunk/; revision=6318
This commit is contained in:
Murray Cumming
2008-01-15 14:08:41 +00:00
committed by Murray Cumming
parent 9d0f6b8f94
commit 218827445d
5 changed files with 20 additions and 11 deletions

View File

@@ -343,7 +343,7 @@ g_drive_can_poll_for_media (GDrive *drive)
* @drive: a #GDrive.
* @flags: flags affecting the unmount if required for eject
* @cancellable: optional #GCancellable object, %NULL to ignore.
* @callback: a #GAsyncReadyCallback.
* @callback: a #GAsyncReadyCallback, or %NULL.
* @user_data: a #gpointer.
*
* Ejects a drive.
@@ -411,7 +411,7 @@ g_drive_eject_finish (GDrive *drive,
* g_drive_poll_for_media:
* @drive: a #GDrive.
* @cancellable: optional #GCancellable object, %NULL to ignore.
* @callback: a #GAsyncReadyCallback.
* @callback: a #GAsyncReadyCallback, or %NULL.
* @user_data: a #gpointer.
*
* Polls @drive to see if media has been inserted or removed.