summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-19 19:03:43 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-19 19:03:43 (GMT)
commit79ae70be75b534c18fbfce38294f5ba7feef0e11 (patch)
tree2ae23b1875a94cb6a69d5a34692adb4048e1e8e8
parenta4f40b1971fe208bd9c25adebaeff5614aee87ee (diff)
Cleaned the entry code of the Python bindings.
-rw-r--r--plugins/pychrysalide/pychrysa.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/plugins/pychrysalide/pychrysa.c b/plugins/pychrysalide/pychrysa.c
index d5f4fc1..4e522e5 100644
--- a/plugins/pychrysalide/pychrysa.c
+++ b/plugins/pychrysalide/pychrysa.c
@@ -286,8 +286,6 @@ static bool set_version_for_gtk_namespace(const char *version)
* Remarques : - *
* *
******************************************************************************/
-#include <gtkext/support.h> // REMME
-#include <glibext/delayed.h>
#define PYCHRYSALIDE_DOC \
"PyChrysalide is a module containing Chrysalide's features and designed for Python users.\n" \
@@ -339,33 +337,6 @@ PyMODINIT_FUNC PyInit_pychrysalide(void)
};
-#if 0
- do
- {
- int argc = 0;
- //char *argv[] = { NULL };
-
- /* Initialisation de GTK */
- g_set_prgname("Chrysalide");
- setlocale (LC_ALL, "");
- gtk_init(&argc, NULL/*&argv-*/);
-
- } while (0);
-
- add_pixmap_directory(PACKAGE_DATA_DIR);
- add_pixmap_directory(PACKAGE_SOURCE_DIR G_DIR_SEPARATOR_S "pixmaps");
-
- /**
- * On évite d'initialiser deux fois...
- */
- if (get_work_queue() != NULL)
- init_work_queue(NULL/* !! */);
-#endif
-
-
-
-
-
if (!is_current_abi_suitable())
return NULL;