summaryrefslogtreecommitdiff
path: root/gio/gresolver.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-08-27 23:42:12 -0400
committerMatthias Clasen <mclasen@redhat.com>2012-08-28 00:08:08 -0400
commit60d2cb665ef4bc751b4a4a940ec2f336f57b5535 (patch)
tree08f303715786ad703eff09f0dacaf04edf481f1a /gio/gresolver.c
parentb7d1518ce9f337a7ede1a659de31ff81dafcbac5 (diff)
downloadglib-60d2cb665ef4bc751b4a4a940ec2f336f57b5535.tar.gz
Use G_DEFINE_QUARK for quarks in GIO
Diffstat (limited to 'gio/gresolver.c')
-rw-r--r--gio/gresolver.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gio/gresolver.c b/gio/gresolver.c
index 17855430b..e1569a389 100644
--- a/gio/gresolver.c
+++ b/gio/gresolver.c
@@ -874,12 +874,7 @@ g_resolver_lookup_records_finish (GResolver *resolver,
*
* Since: 2.22
*/
-GQuark
-g_resolver_error_quark (void)
-{
- return g_quark_from_static_string ("g-resolver-error-quark");
-}
-
+G_DEFINE_QUARK ("g-resolver-error-quark", g_resolver_error)
static GResolverError
g_resolver_error_from_addrinfo_error (gint err)