/* Returns: (transfer full): a #GVolume or NULL if @mount is not associated with a volume. The returned object should be unreffed with g_object_unref() when no longer needed.  */
GVolume* g_mount_get_volume(GMount *mount)
/* Returns: (transfer full): a #GVolume or NULL if @mount is not associated with a volume. The returned object should be unreffed with g_object_unref() when no longer needed.  */
GVolume* g_mount_get_volume(GMount *mount)
{
  GMountIface *iface;
  g_return_val_if_fail (G_IS_MOUNT (mount), NULL);
  iface = G_MOUNT_GET_IFACE (mount);
  return (* iface->get_volume) (mount);
}