VolumeIF.getDrive

Gets the drive for the volume.

interface VolumeIF
getDrive
()

Return Value

Type: DriveIF

a GDrive or NULL if volume is not associated with a drive. The returned object should be unreffed with g_object_unref() when no longer needed.