Virtual Method

GioVolumeMonitorget_volume_for_uuid

Declaration

GVolume*
get_volume_for_uuid (
  GVolumeMonitor* volume_monitor,
  const char* uuid
)

Description

Finds a GVolume object by its UUID (see g_volume_get_uuid())

Parameters

uuid

Type: const char*

The UUID to look for.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: GVolume

A GVolume or NULL if no such volume is available. Free the returned object with g_object_unref().

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.