diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-12 10:47:17 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-12 10:47:17 (GMT) |
commit | 62a46ff92b234d07437f9f36efea576996eb84e2 (patch) | |
tree | 8bcb898523a5c907e38eb4fc006a2e31d814cef8 /bindings/globalkeys/globalkeysmodule.c | |
parent | 5cc6ee3235b6b1301f14f7aae9d1a36abef45557 (diff) |
Create a private sugar lib and put our extensions there.
Diffstat (limited to 'bindings/globalkeys/globalkeysmodule.c')
-rw-r--r-- | bindings/globalkeys/globalkeysmodule.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/bindings/globalkeys/globalkeysmodule.c b/bindings/globalkeys/globalkeysmodule.c deleted file mode 100644 index 9034f51..0000000 --- a/bindings/globalkeys/globalkeysmodule.c +++ /dev/null @@ -1,27 +0,0 @@ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -/* include this first, before NO_IMPORT_PYGOBJECT is defined */ -#include <pygobject.h> - -void pyglobalkeys_register_classes (PyObject *d); - -extern PyMethodDef pyglobalkeys_functions[]; - -DL_EXPORT(void) -initglobalkeys(void) -{ - PyObject *m, *d; - - init_pygobject (); - - m = Py_InitModule ("globalkeys", pyglobalkeys_functions); - d = PyModule_GetDict (m); - - pyglobalkeys_register_classes (d); - - if (PyErr_Occurred ()) { - Py_FatalError ("can't initialise module globalkeys"); - } -} |