From 8070d3b02fecbf00b2e9d3b79d42c9402804d6fe Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Mon, 29 Sep 2008 17:42:01 +0000 Subject: [PATCH] Clarify semantics of g_volume_mount_finish() (#552168) 2008-09-29 David Zeuthen * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168) svn path=/trunk/; revision=7559 --- gio/ChangeLog | 4 ++++ gio/gvolume.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gio/ChangeLog b/gio/ChangeLog index a15e75e2f..a1ee3f581 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,7 @@ +2008-09-29 David Zeuthen + + * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168) + 2008-09-26 Dan Winship * tests/data-input-stream.c: diff --git a/gio/gvolume.c b/gio/gvolume.c index 88276aa9a..7607b4290 100644 --- a/gio/gvolume.c +++ b/gio/gvolume.c @@ -383,6 +383,11 @@ g_volume_mount (GVolume *volume, * * Finishes mounting a volume. If any errors occured during the operation, * @error will be set to contain the errors and %FALSE will be returned. + * + * If the mount operation succeeded, g_volume_get_mount() on @volume + * is guaranteed to return the mount right after calling this + * function; there's no need to listen for the 'mount-added' signal on + * #GVolumeMonitor. * * Returns: %TRUE, %FALSE if operation failed. **/