VolumeT.getDrive

Gets the drive for the volume.

template VolumeT(TStruct)
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.