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

@@ -459,11 +459,7 @@ g_file_test (const gchar *filename,
#endif
}
GQuark
g_file_error_quark (void)
{
return g_quark_from_static_string ("g-file-error-quark");
}
G_DEFINE_QUARK ("g-file-error-quark", g_file_error)
/**
* g_file_error_from_errno: