summaryrefslogtreecommitdiff
path: root/plugins/pychrysa
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-06-03 05:58:17 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-06-03 05:58:17 (GMT)
commit1b66b99cbb621bd97d917ef7830697b93fa36ae5 (patch)
tree7f27476906dd3a8405cb13cafa947745446f9a7c /plugins/pychrysa
parentdf10d1301618658d0a9faed78b8f3e30872e52ce (diff)
Disabled all accesses to GTK3 from Python.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@376 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/pychrysa')
-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 8f4db00..f2dbf0f 100644
--- a/plugins/pychrysa/pychrysa.c
+++ b/plugins/pychrysa/pychrysa.c
@@ -158,6 +158,9 @@ bool init_plugin(GPluginModule *plugin, GObject *ref)
if (entry.d_name[0] == '.') continue;
//if (strcmp(entry.d_name, "test") != 0) continue;
+ printf("NAME :: '%s'\n", entry.d_name);
+ if (strcmp(entry.d_name, "apkfiles") != 0) continue;
+
filename = strdup(entry.d_name);
filename = stradd(filename, ".");
filename = stradd(filename, "__init__");
@@ -282,7 +285,7 @@ PyMODINIT_FUNC initpychrysa(void)
PyObject *module;
init_pygobject();
- init_pygtk();
+ //init_pygtk();
pychrysalide_init_quirks();