void g_set_error_literal ( GError** err, GQuark domain, gint code, const gchar* message )
Does nothing if
err is non-
NULL. A new
GError is created and assigned to
message is not a printf()-style format string.
Use this function if
message contains text you don’t have control over,
that could include
printf() escape sequences.
Available since: 2.18
A return location for a
The argument will be set by the function. The argument can be
The caller of the function takes ownership of the data, and is responsible for freeing it.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.