glib r7559 - trunk/gio



Author: davidz
Date: Mon Sep 29 17:42:01 2008
New Revision: 7559
URL: http://svn.gnome.org/viewvc/glib?rev=7559&view=rev

Log:
2008-09-29  David Zeuthen  <davidz redhat com>

        * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)



Modified:
   trunk/gio/ChangeLog
   trunk/gio/gvolume.c

Modified: trunk/gio/gvolume.c
==============================================================================
--- trunk/gio/gvolume.c	(original)
+++ trunk/gio/gvolume.c	Mon Sep 29 17:42:01 2008
@@ -383,6 +383,11 @@
  * 
  * 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.
  **/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]