From 79ae70be75b534c18fbfce38294f5ba7feef0e11 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Thu, 19 Jul 2018 21:03:43 +0200
Subject: Cleaned the entry code of the Python bindings.

---
 plugins/pychrysalide/pychrysa.c | 29 -----------------------------
 1 file changed, 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;
 
-- 
cgit v0.11.2-87-g4458