get_drive


Description:

public abstract Drive? get_drive ()

Gets the drive for the this.

This is a convenience method for getting the Volume and then using that object to get the Drive.

Parameters:

this

a Mount.

Returns:

a Drive or null if this is not associated with a volume or a drive. The returned object should be unreffed with unref when no longer needed.