Method
IdeDiagnosticto_variant
Description
Creates a GVariant
to represent the diagnostic. This can be useful when
working in subprocesses to serialize the diagnostic.
This function will never return a floating variant.
Return value
Type: GVariant
A GVariant
.
The caller of the method takes ownership of the data, and is responsible for freeing it. |