Method

GioVolumeMonitorget_mount_for_uuid

Declaration [src]

GMount*
g_volume_monitor_get_mount_for_uuid (
  GVolumeMonitor* volume_monitor,
  const char* uuid
)

Description [src]

Finds a GMount object by its UUID (see g_mount_get_uuid()).

Parameters

uuid

Type: const char*

The UUID to look for.

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

Return value

Type: GMount

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

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