summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gi/gimodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/gimodule.c b/gi/gimodule.c
index 2d1dfe20..4668369c 100644
--- a/gi/gimodule.c
+++ b/gi/gimodule.c
@@ -1312,7 +1312,7 @@ pyg_type_register(PyTypeObject *class, const char *type_name)
/* store pointer to the class with the GType */
Py_INCREF(class);
- g_type_set_qdata(instance_type, g_quark_from_string("PyGObject::class"),
+ g_type_set_qdata(instance_type, pygobject_class_key,
class);
/* Mark this GType as a custom python type */