Gio.Volume.get_icon

### Method

# Gio Volumeget_icon

#### Declaration [src]

    GIcon*
    g_volume_get_icon (
      GVolume* volume
    )

#### Description [src]

Gets the icon for `volume`.

#### Return value

Type: `GIcon`

A `GIcon`. The returned object should be unreffed with `g_object_unref()` when no longer needed.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.