Update GError docs to use G_DEFINE_QUARK

This commit is contained in:
Sam Thursfield 2020-02-26 20:01:10 +01:00
parent 70c5fd53e9
commit dcbaae4fa2

View File

@ -264,11 +264,7 @@
* |[<!-- language="C" -->
* #define G_SPAWN_ERROR g_spawn_error_quark ()
*
* GQuark
* g_spawn_error_quark (void)
* {
* return g_quark_from_static_string ("g-spawn-error-quark");
* }
* G_DEFINE_QUARK (g-spawn-error-quark, g_spawn_error)
* ]|
*
* - The quark function for the error domain is called