Function
GLibset_error
since: 2.0
Description
Does nothing if err is NULL; if err is non-NULL, then err
must be NULL. A new GError is created and assigned to err.
Available since: 2.0
This function is not directly available to language bindings.
Parameters
err-
Type:
GErrorA return location for a
GError.The argument will be set by the function. The argument can be NULL.The caller of the function takes ownership of the data, and is responsible for freeing it. domain-
Type:
GQuarkError domain.
code-
Type:
gintError code.
format-
Type:
const gchar*Printf()-style format.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. ...-
Type:
Args for
format.