diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-08-27 23:42:12 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-08-28 00:08:08 -0400 |
commit | 60d2cb665ef4bc751b4a4a940ec2f336f57b5535 (patch) | |
tree | 08f303715786ad703eff09f0dacaf04edf481f1a /gio/gresolver.c | |
parent | b7d1518ce9f337a7ede1a659de31ff81dafcbac5 (diff) | |
download | glib-60d2cb665ef4bc751b4a4a940ec2f336f57b5535.tar.gz |
Use G_DEFINE_QUARK for quarks in GIO
Diffstat (limited to 'gio/gresolver.c')
-rw-r--r-- | gio/gresolver.c | 7 |
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) |