Gio.Volume.get_name

### Method

# Gio Volumeget_name

#### Declaration [src]

    char*
    g_volume_get_name (
      GVolume* volume
    )

#### Description [src]

Gets the name of `volume`.

#### Return value

Type: `char*`

The name for the given `volume`. The returned string should be freed with `g_free()` when no longer needed.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.