new_from_variant


Description:

public static Error? new_from_variant (Variant @var)

Converts the GVariant to GError.

Parameters:

var

instance of Variant

Returns:

Error object if successful, null otherwise.