From 0edb741ce61110b92708fc644cac3cfb4bf02b82 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Sat, 28 May 2005 15:42:06 +0000 Subject: 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 --- gobject/gobjectmodule.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'gobject/gobjectmodule.c') 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); -- cgit