summaryrefslogtreecommitdiff
path: root/gi/pygboxed.h
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-03-23 16:03:02 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2018-03-23 16:03:02 +0100
commit7b65bc99cf8e399c9b468291b3e89f4c87f99f87 (patch)
tree59495bb0d4eb38cc5959342f26f34288877c7152 /gi/pygboxed.h
parent9d1891d51968b7c5ac7928df0207c1b1e7800728 (diff)
downloadpygobject-7b65bc99cf8e399c9b468291b3e89f4c87f99f87.tar.gz
Add error handling to all type init function.
They were all just ignoring errors. Also change those functions to use the pygi prefix.
Diffstat (limited to 'gi/pygboxed.h')
-rw-r--r--gi/pygboxed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pygboxed.h b/gi/pygboxed.h
index 6db26e82..38e7b87b 100644
--- a/gi/pygboxed.h
+++ b/gi/pygboxed.h
@@ -29,6 +29,6 @@ void pyg_register_boxed (PyObject *dict, const gchar *class_name,
PyObject * pyg_boxed_new (GType boxed_type, gpointer boxed,
gboolean copy_boxed, gboolean own_ref);
-void pygobject_boxed_register_types(PyObject *d);
+int pygi_gboxed_register_types(PyObject *d);
#endif /* __PYGOBJECT_BOXED_H__ */