diff options
Diffstat (limited to 'gobject/gobjectmodule.c')
-rw-r--r-- | gobject/gobjectmodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gobject/gobjectmodule.c b/gobject/gobjectmodule.c index 4e9c07d..a33ec24 100644 --- a/gobject/gobjectmodule.c +++ b/gobject/gobjectmodule.c @@ -2501,8 +2501,8 @@ struct _PyGObject_Functions pygobject_api_functions = { pyg_type_register_custom_callback, pyg_gerror_exception_check, - pyglib_option_group_new - + pyglib_option_group_new, + pyg_type_from_object_strict }; /* for addon libraries ... */ @@ -2511,7 +2511,7 @@ pygobject_register_api(PyObject *d) { PyObject *api; - api = PyCObject_FromVoidPtr(&pygobject_api_functions,NULL); + api = PYGLIB_CPointer_WrapPointer(&pygobject_api_functions, "gobject._PyGObject_API"); PyDict_SetItemString(d, "_PyGObject_API", api); Py_DECREF(api); } |