/* Returns: the name for the given @volume. The returned string should be freed with g_free() when no longer needed.  */
char* g_volume_get_name(GVolume *volume)
/* Returns: the name for the given @volume. The returned string should be freed with g_free() when no longer needed.  */
char* g_volume_get_name(GVolume *volume)
{
  GVolumeIface *iface;
  g_return_val_if_fail (G_IS_VOLUME (volume), NULL);
  iface = G_VOLUME_GET_IFACE (volume);
  return (* iface->get_name) (volume);
}