From e0a5d37e65edd79ba27bdaf6e993b4e588de06c1 Mon Sep 17 00:00:00 2001 From: James Henstridge Date: Fri, 14 Sep 2001 13:37:13 +0000 Subject: same change. 2001-09-14 James Henstridge * pygobject.h (pyg_register_boxed_custom): same change. * gobjectmodule.c (pyg_register_boxed_custom): rename from pyg_boxed_register to avoid confusion. --- gobject/gobjectmodule.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gobject/gobjectmodule.c') diff --git a/gobject/gobjectmodule.c b/gobject/gobjectmodule.c index 4a4a1de..bc53e68 100644 --- a/gobject/gobjectmodule.c +++ b/gobject/gobjectmodule.c @@ -623,9 +623,9 @@ static GHashTable *boxed_marshalers; GUINT_TO_POINTER(boxed_type))) static void -pyg_boxed_register(GType boxed_type, - PyObject *(* from_func)(const GValue *value), - int (* to_func)(GValue *value, PyObject *obj)) +pyg_register_boxed_custom(GType boxed_type, + PyObject *(* from_func)(const GValue *value), + int (* to_func)(GValue *value, PyObject *obj)) { PyGBoxedMarshal *bm = g_new(PyGBoxedMarshal, 1); @@ -2127,7 +2127,7 @@ static struct _PyGObject_Functions functions = { pyg_type_from_object, pyg_enum_get_value, pyg_flags_get_value, - pyg_boxed_register, + pyg_register_boxed_custom, pyg_value_from_pyobject, pyg_value_as_pyobject, -- cgit