GVolumeIface.getDrive

struct GVolumeIface
extern (C)
GDrive* function(GVolume* volume) getDrive;

Return Value

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.