to_variant


Description:

public static Variant? to_variant (Error error)

Converts the GError to GVariant.

Parameters:

error

instance of Error

Returns:

Variant object if successful, null otherwise.