summaryrefslogtreecommitdiff
path: root/json-glib/json-path.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/json-path.c')
-rw-r--r--json-glib/json-path.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/json-glib/json-path.c b/json-glib/json-path.c
index 4fb61bc..56a6858 100644
--- a/json-glib/json-path.c
+++ b/json-glib/json-path.c
@@ -260,6 +260,8 @@ struct _PathNode
} data;
};
+G_DEFINE_QUARK (json-path-error-quark, json_path_error)
+
G_DEFINE_TYPE (JsonPath, json_path, G_TYPE_OBJECT)
static void
@@ -308,12 +310,6 @@ json_path_init (JsonPath *self)
{
}
-GQuark
-json_path_error_quark (void)
-{
- return g_quark_from_static_string ("json-path-error");
-}
-
/**
* json_path_new:
*