Merge branch 'sam/use-g-define-quark' into 'master'

Update GError docs to use G_DEFINE_QUARK

See merge request GNOME/glib!1389
This commit is contained in:
Philip Withnall 2020-02-27 11:07:58 +00:00
commit 5292efdc75

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