Virtual Method

GioVolumeMonitorget_mount_for_uuid

Declaration

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

Description

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 function.
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 function takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.