Method

GioDriveget_volumes

Declaration [src]

GList*
g_drive_get_volumes (
  GDrive* drive
)

Description [src]

Get a list of mountable volumes for drive.

The returned list should be freed with g_list_free(), after its elements have been unreffed with g_object_unref().

Return value

Type: A list of None

GList containing any GVolume objects on the given drive.

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