summaryrefslogtreecommitdiffstats
path: root/gobject/gobjectmodule.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2005-05-28 15:42:06 +0000
committerJohan Dahlin <johan@src.gnome.org>2005-05-28 15:42:06 +0000
commit0edb741ce61110b92708fc644cac3cfb4bf02b82 (patch)
tree70753c62d09b57eb3a1f24f83d8a125f3a57d806 /gobject/gobjectmodule.c
parentf1b1ae700dd247b387d8b22f36e50bf40e936eba (diff)
downloadpygobject-0edb741ce61110b92708fc644cac3cfb4bf02b82.tar.gz
pygobject-0edb741ce61110b92708fc644cac3cfb4bf02b82.tar.xz
pygobject-0edb741ce61110b92708fc644cac3cfb4bf02b82.zip
Sort quark names. Rename pyg_boxed_marshal_key to pygboxed_marshal_key.
* gobject/gobjectmodule.c: (initgobject): * gobject/pygobject-private.h: * gobject/pygtype.c: (pyg_register_boxed_custom): Sort quark names. Rename pyg_boxed_marshal_key to pygboxed_marshal_key. Don't set the keys twice
Diffstat (limited to 'gobject/gobjectmodule.c')
-rw-r--r--gobject/gobjectmodule.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/gobject/gobjectmodule.c b/gobject/gobjectmodule.c
index ce6dc56..e25c1e2 100644
--- a/gobject/gobjectmodule.c
+++ b/gobject/gobjectmodule.c
@@ -2484,19 +2484,17 @@ initgobject(void)
g_type_init();
- pyginterface_type_key = g_quark_from_static_string("PyGInterface::type");
- pygobject_wrapper_key = g_quark_from_static_string("PyGObject::wrapper");
- pygobject_class_key = g_quark_from_static_string("PyGObject::class");
pygboxed_type_key = g_quark_from_static_string("PyGBoxed::class");
- pyginterface_type_key = g_quark_from_static_string("PyGInterface::type");
- pyginterface_info_key = g_quark_from_static_string("PyGInterface::info");
- pygobject_class_init_key = g_quark_from_static_string("PyGObject::class-init");
- pyg_boxed_marshal_key = g_quark_from_static_string("PyGBoxed::marshal");
+ pygboxed_marshal_key = g_quark_from_static_string("PyGBoxed::marshal");
pygenum_class_key = g_quark_from_static_string("PyGEnum::class");
pygflags_class_key = g_quark_from_static_string("PyGFlags::class");
+ pygobject_class_key = g_quark_from_static_string("PyGObject::class");
+ pygobject_class_init_key = g_quark_from_static_string("PyGObject::class-init");
+ pygobject_wrapper_key = g_quark_from_static_string("PyGObject::wrapper");
+ pyginterface_type_key = g_quark_from_static_string("PyGInterface::type");
+ pyginterface_info_key = g_quark_from_static_string("PyGInterface::info");
pygpointer_class_key = g_quark_from_static_string("PyGPointer::class");
-
PY_TYPE_OBJECT = g_boxed_type_register_static("PyObject",
pyobject_copy,
pyobject_free);