summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/pychrysa.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-12-28 01:18:24 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-12-28 01:18:24 (GMT)
commit513b9c9b30c8d71decced2491a91c720a52aa910 (patch)
treefa289d4556901733208a2881985e9586db92c83a /plugins/pychrysa/pychrysa.c
parent764a6782ee40c3c3a1bfb67434b33077ece4df88 (diff)
Created Python objects for the GtkBlockView widgets and fixed some bugs.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@311 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/pychrysa/pychrysa.c')
-rw-r--r--plugins/pychrysa/pychrysa.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/pychrysa/pychrysa.c b/plugins/pychrysa/pychrysa.c
index 94cd51e..980c073 100644
--- a/plugins/pychrysa/pychrysa.c
+++ b/plugins/pychrysa/pychrysa.c
@@ -27,6 +27,7 @@
#include <dirent.h>
#include <pygobject.h>
#include <string.h>
+#include <pygtk/pygtk.h>
#include <config.h>
@@ -280,7 +281,9 @@ PyMODINIT_FUNC initpychrysa(void)
{
PyObject *module;
- pygobject_init(-1, -1, -1);
+ init_pygobject();
+ init_pygtk();
+
pychrysalide_init_quirks();
module = Py_InitModule("pychrysalide", SpamMethods);