Use G_DEFINE_QUARK for GLib's own quarks

This commit just deals with glib/.
gobject/ and gio/ will be handled in separate commits.
This commit is contained in:
Matthias Clasen
2012-08-27 23:36:42 -04:00
parent 702b448865
commit 4f12f7c029
14 changed files with 17 additions and 98 deletions

View File

@@ -43,11 +43,7 @@
* "glib-unix.h" header.
*/
GQuark
g_unix_error_quark (void)
{
return g_quark_from_static_string ("g-unix-error-quark");
}
G_DEFINE_QUARK ("g-unix-error-quark", g_unix_error)
static gboolean
g_unix_set_error_from_errno (GError **error,