summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/helpers.h')
-rw-r--r--plugins/pychrysa/helpers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/pychrysa/helpers.h b/plugins/pychrysa/helpers.h
index bd11459..d7e9666 100644
--- a/plugins/pychrysa/helpers.h
+++ b/plugins/pychrysa/helpers.h
@@ -25,6 +25,7 @@
#define _PLUGINS_HELPERS_H
+#include <glib-object.h>
#include <Python.h>
#include <stdbool.h>
@@ -60,5 +61,9 @@ bool PyDict_AddStringConstant(PyTypeObject *, const char *, const char *);
#define APPLY_ABSTRACT_FLAG(tp) tp->tp_new = PyBaseObject_Type.tp_new
+/* Enregistre correctement une surcouche de conversion GObject. */
+bool register_class_for_pygobject(PyObject *, GType, PyTypeObject *, PyTypeObject *);
+
+
#endif /* _PLUGINS_HELPERS_H */