Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bindings/gecko/geckomodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/gecko/geckomodule.c')
-rw-r--r--bindings/gecko/geckomodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bindings/gecko/geckomodule.c b/bindings/gecko/geckomodule.c
index ba16813..8455de8 100644
--- a/bindings/gecko/geckomodule.c
+++ b/bindings/gecko/geckomodule.c
@@ -5,6 +5,8 @@
/* include this first, before NO_IMPORT_PYGOBJECT is defined */
#include <pygobject.h>
+void pygecko_register_classes (PyObject *d);
+
extern PyMethodDef pygecko_functions[];
DL_EXPORT(void)
@@ -17,6 +19,8 @@ initgecko(void)
m = Py_InitModule ("gecko", pygecko_functions);
d = PyModule_GetDict (m);
+ pygecko_register_classes (d);
+
if (PyErr_Occurred ()) {
Py_FatalError ("can't initialise module globalkeys");
}