From 7b3b76a1e6faff521d582902e1230acbe1a906d3 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Sun, 16 Aug 2020 13:05:41 +0200
Subject: Deleted old code.

---
 src/gtkext/easygtk.c        | 347 --------------------------------------------
 src/gtkext/easygtk.h        |  29 ----
 src/gui/dialogs/Makefile.am |   1 -
 src/gui/dialogs/plugins.c   | 315 ----------------------------------------
 src/gui/dialogs/plugins.h   |  40 -----
 5 files changed, 732 deletions(-)
 delete mode 100644 src/gui/dialogs/plugins.c
 delete mode 100644 src/gui/dialogs/plugins.h

diff --git a/src/gtkext/easygtk.c b/src/gtkext/easygtk.c
index c6c9a2b..e97b2fd 100644
--- a/src/gtkext/easygtk.c
+++ b/src/gtkext/easygtk.c
@@ -42,28 +42,6 @@ static gboolean handle_escape_on_menu(GtkWidget *, GdkEventKey *, GtkMenuItem *)
 /******************************************************************************
 *                                                                             *
 *  Paramètres  : widget = composant graphique visé par la procédure.          *
-*                xalign = alignement horizontal à appliquer.                  *
-*                yalign = alignement vertical à appliquer.                    *
-*                                                                             *
-*  Description : Aligne un composant GTK par rapport à son parent.            *
-*                                                                             *
-*  Retour      : -                                                            *
-*                                                                             *
-*  Remarques   : -                                                            *
-*                                                                             *
-******************************************************************************/
-
-void qck_set_alignment(GtkWidget *widget, GtkAlign xalign, GtkAlign yalign)
-{
-    gtk_widget_set_halign(widget, xalign);
-    gtk_widget_set_valign(widget, yalign);
-
-}
-
-
-/******************************************************************************
-*                                                                             *
-*  Paramètres  : widget = composant graphique visé par la procédure.          *
 *                pt     = espace imposé à la zone supérieure.                 *
 *                pb     = espace imposé à la zone inférieure.                 *
 *                pl     = espace imposé à la zone gauche.                     *
@@ -132,38 +110,6 @@ GtkWidget *qck_create_frame(const char *caption, GtkWidget *content, guint pt, g
 *  Paramètres  : object = espace dédié à l'inscription de références.         *
 *                name   = nom à donner au nouveau composant.                  *
 *                                                                             *
-*  Description : Met en place un support à onglets.                           *
-*                                                                             *
-*  Retour      : Composant 'GtkWidget' ici créé.                              *
-*                                                                             *
-*  Remarques   : -                                                            *
-*                                                                             *
-******************************************************************************/
-
-GtkWidget *qck_create_notebook(GObject *object, const char *name)
-{
-    GtkWidget *result;                      /* Instance à renvoyer         */
-
-    result = gtk_notebook_new();
-
-    if (G_IS_OBJECT(object) && name != NULL)
-    {
-        g_object_ref(G_OBJECT(result));
-        g_object_set_data_full(object, name, result, (GDestroyNotify)g_object_unref);
-    }
-
-    gtk_widget_show(result);
-
-    return result;
-
-}
-
-
-/******************************************************************************
-*                                                                             *
-*  Paramètres  : object = espace dédié à l'inscription de références.         *
-*                name   = nom à donner au nouveau composant.                  *
-*                                                                             *
 *  Description : Met en place un support avec défilement automatique.         *
 *                                                                             *
 *  Retour      : Composant 'GtkWidget' ici créé.                              *
@@ -308,47 +254,6 @@ GtkWidget *qck_create_entry(GObject *object, const char *name, const char *text)
 *                                                                             *
 *  Paramètres  : object  = espace dédié à l'inscription de références.        *
 *                name    = nom à donner au nouveau composant.                 *
-*                handler = éventuelle fonction de sélection associée.         *
-*                data    = données à transmettre avec l'événement si besoin.  *
-*                                                                             *
-*  Description : Crée et enregistre un composant 'GtkTextView'.               *
-*                                                                             *
-*  Retour      : Champ de saisie mis en place.                                *
-*                                                                             *
-*  Remarques   : -                                                            *
-*                                                                             *
-******************************************************************************/
-
-GtkWidget *qck_create_textview(GObject *object, const char *name, GCallback handler, gpointer data)
-{
-    GtkWidget *result;                      /* Résultat à renvoyer         */
-    GtkTextBuffer *buffer;                  /* Tampon créé en interne GTK  */
-
-    result = gtk_text_view_new();
-
-    if (G_IS_OBJECT(object) && name != NULL)
-    {
-        g_object_ref(G_OBJECT(result));
-        g_object_set_data_full(object, name, result, (GDestroyNotify)g_object_unref);
-    }
-
-    gtk_widget_show(result);
-
-    if (handler != NULL)
-    {
-        buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(result));
-        g_signal_connect(buffer, "changed", handler, data);
-    }
-
-	return result;
-
-}
-
-
-/******************************************************************************
-*                                                                             *
-*  Paramètres  : object  = espace dédié à l'inscription de références.        *
-*                name    = nom à donner au nouveau composant.                 *
 *                caption = intitulé du bouton à créer.                        *
 *                handler = éventuelle fonction de sélection associée.         *
 *                data    = données à transmettre avec l'événement si besoin.  *
@@ -386,50 +291,6 @@ GtkWidget *qck_create_button(GObject *object, const char *name, const char *capt
 
 /******************************************************************************
 *                                                                             *
-*  Paramètres  : object  = espace dédié à l'inscription de références.        *
-*                name    = nom à donner au nouveau composant.                 *
-*                image   = nom de l'image stockée dans GTK.                   *
-*                handler = éventuelle fonction de sélection associée.         *
-*                data    = données à transmettre avec l'événement si besoin.  *
-*                                                                             *
-*  Description : Crée et enregistre un composant 'GtkButton'.                 *
-*                                                                             *
-*  Retour      : Simple bouton mis en place.                                  *
-*                                                                             *
-*  Remarques   : -                                                            *
-*                                                                             *
-******************************************************************************/
-
-GtkWidget *qck_create_button_with_img(GObject *object, const char *name, const char *image, GCallback handler, gpointer data)
-{
-    GtkWidget *result;                      /* Résultat à renvoyer         */
-    GtkWidget *render;                      /* Image à ajouter au bouton   */
-
-    result = gtk_button_new();
-    gtk_widget_set_can_default(result, TRUE);
-
-    render = gtk_image_new_from_icon_name(image, GTK_ICON_SIZE_BUTTON);
-    gtk_widget_show(render);
-    gtk_container_add(GTK_CONTAINER(result), render);
-
-    if (G_IS_OBJECT(object) && name != NULL)
-    {
-        g_object_ref(G_OBJECT(result));
-        g_object_set_data_full(object, name, result, (GDestroyNotify)g_object_unref);
-    }
-
-    gtk_widget_show(result);
-
-    if (handler != NULL)
-        g_signal_connect(result, "clicked", handler, data);
-
-	return result;
-
-}
-
-
-/******************************************************************************
-*                                                                             *
 *  Paramètres  : button  = composant graphique dont la définition est à finir.*
 *                object  = espace dédié à l'inscription de références.        *
 *                name    = nom à donner au nouveau composant.                 *
@@ -543,54 +404,6 @@ GtkWidget *qck_create_button_with_named_img(GObject *object, const char *name, c
 *  Paramètres  : object  = espace dédié à l'inscription de références.        *
 *                name    = nom à donner au nouveau composant.                 *
 *                image   = nom de l'image stockée dans GTK.                   *
-*                label   = contenu de l'étiquette éventuelle associée.        *
-*                handler = éventuelle fonction de sélection associée.         *
-*                data    = données à transmettre avec l'événement si besoin.  *
-*                                                                             *
-*  Description : Crée et enregistre un composant 'GtkButton'.                 *
-*                                                                             *
-*  Retour      : Simple bouton mis en place.                                  *
-*                                                                             *
-*  Remarques   : -                                                            *
-*                                                                             *
-******************************************************************************/
-
-GtkWidget *qck_create_button_with_css_img(GObject *object, const char *name, const char *image, const char *label, GCallback handler, gpointer data)
-{
-    GtkWidget *result;                      /* Résultat à renvoyer         */
-    GtkWidget *picture;                     /* Image de représentation     */
-
-    result = gtk_button_new();
-    gtk_widget_set_can_default(result, TRUE);
-
-    /* Création des éléments internes (1/2) */
-
-    if (image != NULL)
-    {
-        picture = gtk_image_new();
-        gtk_widget_show(picture);
-
-        gtk_widget_set_name(picture, image);
-
-    }
-    else
-        picture = NULL;
-
-    _finish_button_with_img(result, object, name, picture, label);
-
-    if (handler != NULL)
-        g_signal_connect(result, "clicked", handler, data);
-
-	return result;
-
-}
-
-
-/******************************************************************************
-*                                                                             *
-*  Paramètres  : object  = espace dédié à l'inscription de références.        *
-*                name    = nom à donner au nouveau composant.                 *
-*                image   = nom de l'image stockée dans GTK.                   *
 *                size    = taille de l'image éventuelle à faire figurer.      *
 *                label   = contenu de l'étiquette éventuelle associée.        *
 *                handler = éventuelle fonction de sélection associée.         *
@@ -761,43 +574,6 @@ GtkWidget *qck_create_combobox(GObject *object, const char *name, GCallback hand
 *                                                                             *
 ******************************************************************************/
 
-GtkWidget *qck_create_combobox2(GObject *object, const char *name, GCallback handler, gpointer data)
-{
-    GtkWidget *result;                      /* Résultat à renvoyer         */
-
-    result = gtk_combo_box_text_new();
-
-    if (G_IS_OBJECT(object) && name != NULL)
-    {
-        g_object_ref(G_OBJECT(result));
-        g_object_set_data_full(object, name, result, (GDestroyNotify)g_object_unref);
-    }
-
-    gtk_widget_show(result);
-
-    if (handler != NULL)
-        g_signal_connect(result, "changed", handler, data);
-
-	return result;
-
-}
-
-
-/******************************************************************************
-*                                                                             *
-*  Paramètres  : object  = espace dédié à l'inscription de références.        *
-*                name    = nom à donner au nouveau composant.                 *
-*                handler = éventuelle fonction de sélection associée.         *
-*                data    = données à transmettre avec l'événement si besoin.  *
-*                                                                             *
-*  Description : Crée et enregistre un composant 'GtkComboBox'.               *
-*                                                                             *
-*  Retour      : Composant mis en place.                                      *
-*                                                                             *
-*  Remarques   : -                                                            *
-*                                                                             *
-******************************************************************************/
-
 GtkWidget *qck_create_combobox_with_entry(GObject *object, const char *name, GCallback handler, gpointer data)
 {
     GtkWidget *result;                      /* Résultat à renvoyer         */
@@ -1027,129 +803,6 @@ GtkWidget *qck_create_menu_separator(void)
 
 /******************************************************************************
 *                                                                             *
-*  Paramètres  : object   = espace dédié à l'inscription de références.       *
-*                name     = nom à donner au nouveau composant.                *
-*                caption  = étquette pour le bouton ou NULL.                  *
-*                filename = nom du fichier d'image à charger.                 *
-*                handler  = éventuelle fonction de sélection associée.        *
-*                data     = données à transmettre avec l'événement si besoin. *
-*                                                                             *
-*  Description : Crée et enregistre un composant 'GtkToolButton'.             *
-*                                                                             *
-*  Retour      : Simple élément de barre d'outils mis en place.               *
-*                                                                             *
-*  Remarques   : -                                                            *
-*                                                                             *
-******************************************************************************/
-
-GtkWidget *qck_create_tool_button(GObject *object, const char *name, const char *caption, const char *filename, GCallback handler, gpointer data)
-{
-    GtkWidget *result;                      /* Résultat à renvoyer         */
-    GtkWidget *image;                       /* Image de représentation     */
-
-    image = get_image_from_file(filename);
-    result = GTK_WIDGET(gtk_tool_button_new(image, caption));
-
-    if (G_IS_OBJECT(object) && name != NULL)
-    {
-        g_object_ref(G_OBJECT(result));
-        g_object_set_data_full(object, name, result, (GDestroyNotify)g_object_unref);
-    }
-
-    gtk_widget_show(result);
-
-    if (handler != NULL)
-        g_signal_connect(result, "clicked", handler, data);
-
-	return result;
-
-}
-
-
-/******************************************************************************
-*                                                                             *
-*  Paramètres  : object   = espace dédié à l'inscription de références.       *
-*                name     = nom à donner au nouveau composant.                *
-*                caption  = étquette pour le bouton ou NULL.                  *
-*                filename = nom du fichier d'image à charger.                 *
-*                handler  = éventuelle fonction de sélection associée.        *
-*                data     = données à transmettre avec l'événement si besoin. *
-*                                                                             *
-*  Description : Crée et enregistre un composant 'GtkToggleToolButton'.       *
-*                                                                             *
-*  Retour      : Simple élément de barre d'outils mis en place.               *
-*                                                                             *
-*  Remarques   : -                                                            *
-*                                                                             *
-******************************************************************************/
-
-GtkWidget *qck_create_toggle_tool_button(GObject *object, const char *name, const char *caption, const char *filename, GCallback handler, gpointer data)
-{
-    GtkWidget *result;                      /* Résultat à renvoyer         */
-    GtkWidget *image;                       /* Image de représentation     */
-
-    result = GTK_WIDGET(gtk_toggle_tool_button_new());
-
-    if (caption != NULL)
-        gtk_tool_button_set_label(GTK_TOOL_BUTTON(result), caption);
-
-    image = get_image_from_file(filename);
-    gtk_tool_button_set_icon_widget(GTK_TOOL_BUTTON(result), image);
-
-    if (G_IS_OBJECT(object) && name != NULL)
-    {
-        g_object_ref(G_OBJECT(result));
-        g_object_set_data_full(object, name, result, (GDestroyNotify)g_object_unref);
-    }
-
-    gtk_widget_show(result);
-
-    if (handler != NULL)
-        g_signal_connect(result, "toggled", handler, data);
-
-	return result;
-
-}
-
-
-/******************************************************************************
-*                                                                             *
-*  Paramètres  : object = espace dédié à l'inscription de références.         *
-*                name   = nom à donner au nouveau composant.                  *
-*                                                                             *
-*  Description : Crée et enregistre un composant 'GtkSeparatorToolItem'.      *
-*                                                                             *
-*  Retour      : Simple élément de barre d'outils mis en place.               *
-*                                                                             *
-*  Remarques   : -                                                            *
-*                                                                             *
-******************************************************************************/
-
-GtkWidget *qck_create_tool_separator(GObject *object, const char *name)
-{
-    GtkWidget *result;                      /* Résultat à renvoyer         */
-
-    result = GTK_WIDGET(gtk_separator_tool_item_new());
-
-    if (G_IS_OBJECT(object) && name != NULL)
-    {
-        g_object_ref(G_OBJECT(result));
-        g_object_set_data_full(object, name, result, (GDestroyNotify)g_object_unref);
-    }
-
-    gtk_widget_show(result);
-
-	return result;
-
-}
-
-
-
-
-
-
-/******************************************************************************
-*                                                                             *
 *  Paramètres  : parent   = fenêtre parente pour la modalité d'affichage.     *
 *                title    = titre de la boîte de dialogue.                    *
 *                question = teneur de la question posée.                      *
diff --git a/src/gtkext/easygtk.h b/src/gtkext/easygtk.h
index c194e49..86cba5f 100644
--- a/src/gtkext/easygtk.h
+++ b/src/gtkext/easygtk.h
@@ -35,18 +35,12 @@
 #define HAS_H_ORIENTATION(wid) gtk_orientable_get_orientation(GTK_ORIENTABLE(wid)) == GTK_ORIENTATION_HORIZONTAL
 
 
-/* Aligne un composant GTK par rapport à son parent. */
-void qck_set_alignment(GtkWidget *, GtkAlign, GtkAlign);
-
 /* Définit des bordures extérieures à appliquer à un composant. */
 void qck_set_margins(GtkWidget *, guint, guint, guint, guint);
 
 /* Met en place une frame. */
 GtkWidget *qck_create_frame(const char *, GtkWidget *, guint, guint, guint, guint);
 
-/* Met en place un support à onglets. */
-GtkWidget *qck_create_notebook(GObject *, const char *);
-
 /* Met en place un support avec défilement automatique. */
 GtkWidget *qck_create_scrolled_window(GObject *, const char *);
 
@@ -59,21 +53,12 @@ GtkWidget *qck_create_label(GObject *, const char *, const char *);
 /* Crée et enregistre un composant 'GtkEntry'. */
 GtkWidget *qck_create_entry(GObject *, const char *, const char *);
 
-/* Crée et enregistre un composant 'GtkTextView'. */
-GtkWidget *qck_create_textview(GObject *, const char *, GCallback, gpointer);
-
 /* Crée et enregistre un composant 'GtkButton'. */
 GtkWidget *qck_create_button(GObject *, const char *, const char *, GCallback, gpointer);
 
 /* Crée et enregistre un composant 'GtkButton'. */
-GtkWidget *qck_create_button_with_img(GObject *, const char *, const char *, GCallback, gpointer)   __attribute__ ((deprecated));
-
-/* Crée et enregistre un composant 'GtkButton'. */
 GtkWidget *qck_create_button_with_named_img(GObject *, const char *, const char *, GtkIconSize, const char *, GCallback, gpointer);
 
-/* Crée et enregistre un composant 'GtkButton'. */
-GtkWidget *qck_create_button_with_css_img(GObject *, const char *, const char *, const char *, GCallback, gpointer);
-
 /* Crée et enregistre un composant 'GtkCheckButton'. */
 GtkWidget *qck_create_toggle_button_with_named_img(GObject *, const char *, const char *, GtkIconSize, const char *, GCallback, gpointer);
 
@@ -87,9 +72,6 @@ GtkWidget *qck_create_radio_button(GObject *, const char *, const char *, GtkRad
 GtkWidget *qck_create_combobox(GObject *, const char *, GCallback, gpointer);
 
 /* Crée et enregistre un composant 'GtkComboBox'. */
-GtkWidget *qck_create_combobox2(GObject *, const char *, GCallback, gpointer);
-
-/* Crée et enregistre un composant 'GtkComboBox'. */
 GtkWidget *qck_create_combobox_with_entry(GObject *, const char *, GCallback, gpointer);
 
 /* Met en place un support de menu 'GtkMenu'. */
@@ -110,17 +92,6 @@ GtkWidget *qck_create_menu_separator(void);
 
 
 
-/* Crée et enregistre un composant 'GtkToolButton'. */
-GtkWidget *qck_create_tool_button(GObject *, const char *, const char *, const char *, GCallback, gpointer);
-
-/* Crée et enregistre un composant 'GtkToggleToolButton'. */
-GtkWidget *qck_create_toggle_tool_button(GObject *, const char *, const char *, const char *, GCallback, gpointer);
-
-/* Crée et enregistre un composant 'GtkSeparatorToolItem'. */
-GtkWidget *qck_create_tool_separator(GObject *, const char *);
-
-
-
 /* Affiche une boîte de dialogue offrant un choix "Oui/Non". */
 gint qck_show_question(GtkWindow *, const char *, const char *);
 
diff --git a/src/gui/dialogs/Makefile.am b/src/gui/dialogs/Makefile.am
index 7d3518c..8dd3442 100644
--- a/src/gui/dialogs/Makefile.am
+++ b/src/gui/dialogs/Makefile.am
@@ -23,7 +23,6 @@ libguidialogs_la_SOURCES =				\
 	gotox.h gotox.c						\
 	identity.h identity.c				\
 	loading.h loading.c					\
-	plugins.h plugins.c					\
 	preferences.h preferences.c			\
 	prefs_fgraph.h prefs_fgraph.c		\
 	prefs_labels.h prefs_labels.c		\
diff --git a/src/gui/dialogs/plugins.c b/src/gui/dialogs/plugins.c
deleted file mode 100644
index fa16b8e..0000000
--- a/src/gui/dialogs/plugins.c
+++ /dev/null
@@ -1,315 +0,0 @@
-
-/* Chrysalide - Outil d'analyse de fichiers binaires
- * plugins.c - boîte de dialogue permettant une sélection des greffons
- *
- * Copyright (C) 2015-2018 Cyrille Bagard
- *
- *  This file is part of Chrysalide.
- *
- *  Chrysalide is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 3 of the License, or
- *  (at your option) any later version.
- *
- *  Chrysalide is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with Chrysalide.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-
-#include "plugins.h"
-
-
-#include <i18n.h>
-
-
-#include "../../gtkext/easygtk.h"
-
-
-
-
-
-
-
-
-
-
-/******************************************************************************
-*                                                                             *
-*  Paramètres  : binary = informations sur le binaire actuellement ouvert.    *
-*                parent = fenêtre parente à surpasser.                        *
-*                                                                             *
-*  Description : Construit la fenêtre de sélection des sections.              *
-*                                                                             *
-*  Retour      : Adresse de la fenêtre mise en place.                         *
-*                                                                             *
-*  Remarques   : -                                                            *
-*                                                                             *
-******************************************************************************/
-
-GtkWidget *create_plugins_selection_dialog(GLoadedBinary *binary, GtkWindow *parent)
-{
-    GtkWidget *result;                      /* Fenêtre à renvoyer          */
-    GObject *ref;                           /* Espace de référencements    */
-
-
-
-
-    GtkWidget *vbox1;
-    GtkWidget *hbox3;
-    GtkWidget *scrolledwindow1;
-    GtkWidget *treeview1;
-    GtkWidget *vbox2;
-    GtkWidget *vbuttonbox1;
-    GtkWidget *button7;
-    GtkWidget *image3;
-    GtkWidget *button8;
-    GtkWidget *image4;
-    GtkWidget *hseparator1;
-    GtkWidget *vbuttonbox2;
-    GtkWidget *button9;
-    GtkWidget *image5;
-    GtkWidget *button10;
-    GtkWidget *image6;
-    GtkWidget *scrolledwindow2;
-    GtkWidget *treeview2;
-    GtkWidget *expander1;
-    GtkWidget *hbox4;
-    GtkWidget *vbox3;
-    GtkWidget *label;						/* Etiquette d'introduction	   */
-    GtkWidget *label8;
-    GtkWidget *label9;
-    GtkWidget *label10;
-    GtkWidget *frame1;
-    GtkWidget *label12;
-    GtkWidget *label11;
-    GtkWidget *label3;
-    GtkWidget *hseparator2;
-    GtkWidget *hbuttonbox1;
-    GtkWidget *button1;
-    GtkWidget *hbox1;
-    GtkWidget *image1;
-    GtkWidget *label1;
-    GtkWidget *button2;
-    GtkWidget *hbox2;
-    GtkWidget *image2;
-    GtkWidget *label2;
-
-    result = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-    gtk_window_set_title(GTK_WINDOW(result), _("Plugins selection"));
-    gtk_widget_set_size_request(result, 600, 400);
-    gtk_container_set_border_width(GTK_CONTAINER(result), 8);
-    gtk_window_set_default_size(GTK_WINDOW(result), 600, 400);
-    gtk_window_set_type_hint(GTK_WINDOW(result), GDK_WINDOW_TYPE_HINT_DIALOG);
-
-    gtk_window_set_modal(GTK_WINDOW(result), TRUE);
-    gtk_window_set_transient_for(GTK_WINDOW(result), parent);
-
-    ref= G_OBJECT(result);
-    g_object_set_data(ref, "binary", binary);
-
-
-
-
-    vbox1 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8);
-    gtk_widget_show(vbox1);
-    gtk_container_add(GTK_CONTAINER(result), vbox1);
-    gtk_container_set_border_width(GTK_CONTAINER(vbox1), 8);
-
-    hbox3 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8);
-    gtk_widget_show(hbox3);
-    gtk_box_pack_start(GTK_BOX(vbox1), hbox3, TRUE, TRUE, 0);
-
-    scrolledwindow1 = gtk_scrolled_window_new(NULL, NULL);
-    gtk_widget_show(scrolledwindow1);
-    gtk_box_pack_start(GTK_BOX(hbox3), scrolledwindow1, TRUE, TRUE, 0);
-    gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrolledwindow1), GTK_SHADOW_IN);
-
-    treeview1 = gtk_tree_view_new();
-    gtk_widget_show(treeview1);
-    gtk_container_add(GTK_CONTAINER(scrolledwindow1), treeview1);
-
-    vbox2 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8);
-    gtk_widget_show(vbox2);
-    gtk_box_pack_start(GTK_BOX(hbox3), vbox2, FALSE, FALSE, 0);
-
-    vbuttonbox1 = gtk_button_box_new(GTK_ORIENTATION_VERTICAL);
-    gtk_widget_show(vbuttonbox1);
-    gtk_box_pack_start(GTK_BOX(vbox2), vbuttonbox1, FALSE, FALSE, 0);
-    gtk_container_set_border_width(GTK_CONTAINER(vbuttonbox1), 8);
-    gtk_button_box_set_layout(GTK_BUTTON_BOX(vbuttonbox1), GTK_BUTTONBOX_END);
-    gtk_box_set_spacing(GTK_BOX(vbuttonbox1), 8);
-
-    button7 = gtk_button_new();
-    gtk_widget_show(button7);
-    gtk_container_add(GTK_CONTAINER(vbuttonbox1), button7);
-
-    image3 = gtk_image_new_from_icon_name("gtk-add", GTK_ICON_SIZE_BUTTON);
-    gtk_widget_show(image3);
-    gtk_container_add(GTK_CONTAINER(button7), image3);
-
-    button8 = gtk_button_new();
-    gtk_widget_show(button8);
-    gtk_container_add(GTK_CONTAINER(vbuttonbox1), button8);
-
-    image4 = gtk_image_new_from_icon_name("gtk-remove", GTK_ICON_SIZE_BUTTON);
-    gtk_widget_show(image4);
-    gtk_container_add(GTK_CONTAINER(button8), image4);
-
-    hseparator1 = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
-    gtk_widget_show(hseparator1);
-    gtk_box_pack_start(GTK_BOX(vbox2), hseparator1, FALSE, FALSE, 0);
-
-    vbuttonbox2 = gtk_button_box_new(GTK_ORIENTATION_VERTICAL);
-    gtk_widget_show(vbuttonbox2);
-    gtk_box_pack_start(GTK_BOX(vbox2), vbuttonbox2, FALSE, FALSE, 0);
-    gtk_container_set_border_width(GTK_CONTAINER(vbuttonbox2), 8);
-    gtk_box_set_spacing(GTK_BOX(vbuttonbox2), 8);
-
-    button9 = gtk_button_new();
-    gtk_widget_show(button9);
-    gtk_container_add(GTK_CONTAINER(vbuttonbox2), button9);
-
-    image5 = gtk_image_new_from_icon_name("gtk-go-up", GTK_ICON_SIZE_BUTTON);
-    gtk_widget_show(image5);
-    gtk_container_add(GTK_CONTAINER(button9), image5);
-
-    button10 = gtk_button_new();
-    gtk_widget_show(button10);
-    gtk_container_add(GTK_CONTAINER(vbuttonbox2), button10);
-
-    image6 = gtk_image_new_from_icon_name("gtk-go-down", GTK_ICON_SIZE_BUTTON);
-    gtk_widget_show(image6);
-    gtk_container_add(GTK_CONTAINER(button10), image6);
-
-    scrolledwindow2 = gtk_scrolled_window_new(NULL, NULL);
-    gtk_widget_show(scrolledwindow2);
-    gtk_box_pack_start(GTK_BOX(hbox3), scrolledwindow2, TRUE, TRUE, 0);
-    gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrolledwindow2), GTK_SHADOW_IN);
-
-    treeview2 = gtk_tree_view_new();
-    gtk_widget_show(treeview2);
-    gtk_container_add(GTK_CONTAINER(scrolledwindow2), treeview2);
-
-    expander1 = gtk_expander_new(NULL);
-    gtk_widget_show(expander1);
-    gtk_box_pack_start(GTK_BOX(vbox1), expander1, FALSE, FALSE, 0);
-    gtk_expander_set_expanded(GTK_EXPANDER(expander1), TRUE);
-
-    hbox4 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8);
-    gtk_widget_show(hbox4);
-    gtk_container_add(GTK_CONTAINER(expander1), hbox4);
-
-    vbox3 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8);
-    gtk_widget_show(vbox3);
-    gtk_box_pack_start(GTK_BOX(hbox4), vbox3, TRUE, TRUE, 0);
-
-    label = qck_create_label(NULL, NULL, _("Author:"));
-    gtk_widget_show(label);
-    gtk_box_pack_start(GTK_BOX(vbox3), label, FALSE, FALSE, 0);
-
-    label8 = gtk_label_new(_("label8"));
-    gtk_widget_show(label8);
-    gtk_box_pack_start(GTK_BOX(vbox3), label8, FALSE, FALSE, 0);
-
-    label = qck_create_label(NULL, NULL, _("Version:"));
-    gtk_widget_show(label);
-    gtk_box_pack_start(GTK_BOX(vbox3), label, FALSE, FALSE, 0);
-
-    label9 = gtk_label_new(_("label9"));
-    gtk_widget_show(label9);
-    gtk_box_pack_start(GTK_BOX(vbox3), label9, FALSE, FALSE, 0);
-
-    label = qck_create_label(NULL, NULL, _("URL:"));
-    gtk_widget_show(label);
-    gtk_box_pack_start(GTK_BOX(vbox3), label, FALSE, FALSE, 0);
-
-    label10 = gtk_label_new(_("label10"));
-    gtk_widget_show(label10);
-    gtk_box_pack_start(GTK_BOX(vbox3), label10, FALSE, FALSE, 0);
-
-    frame1 = gtk_frame_new(NULL);
-    gtk_widget_show(frame1);
-    gtk_box_pack_start(GTK_BOX(hbox4), frame1, TRUE, TRUE, 0);
-    gtk_frame_set_shadow_type(GTK_FRAME(frame1), GTK_SHADOW_NONE);
-
-    label12 = gtk_label_new(_("label12"));
-    qck_set_alignment(label12, GTK_ALIGN_CENTER, GTK_ALIGN_CENTER);
-    qck_set_margins(label12, 0, 0, 12, 0);
-    gtk_widget_show(label12);
-    gtk_container_add(GTK_CONTAINER(frame1), label12);
-
-    label11 = gtk_label_new(_("<b>Action</b>"));
-    gtk_widget_show(label11);
-    gtk_frame_set_label_widget(GTK_FRAME(frame1), label11);
-    gtk_label_set_use_markup(GTK_LABEL(label11), TRUE);
-
-    label3 = gtk_label_new(_("<b>Details:</b>"));
-    gtk_widget_show(label3);
-    gtk_expander_set_label_widget(GTK_EXPANDER(expander1), label3);
-    gtk_label_set_use_markup(GTK_LABEL(label3), TRUE);
-
-    hseparator2 = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
-    gtk_widget_show(hseparator2);
-    gtk_box_pack_start(GTK_BOX(vbox1), hseparator2, FALSE, FALSE, 0);
-
-    hbuttonbox1 = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL);
-    gtk_widget_show(hbuttonbox1);
-    gtk_box_pack_start(GTK_BOX(vbox1), hbuttonbox1, FALSE, FALSE, 0);
-    gtk_button_box_set_layout(GTK_BUTTON_BOX(hbuttonbox1), GTK_BUTTONBOX_END);
-    gtk_box_set_spacing(GTK_BOX(hbuttonbox1), 8);
-
-    button1 = gtk_button_new();
-    gtk_widget_show(button1);
-    gtk_container_add(GTK_CONTAINER(hbuttonbox1), button1);
-
-    hbox1 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8);
-    qck_set_alignment(hbox1, GTK_ALIGN_CENTER, GTK_ALIGN_CENTER);
-    gtk_widget_show(hbox1);
-    gtk_container_add(GTK_CONTAINER(button1), hbox1);
-
-    image1 = gtk_image_new_from_icon_name("gtk-apply", GTK_ICON_SIZE_BUTTON);
-    gtk_widget_show(image1);
-    gtk_box_pack_start(GTK_BOX(hbox1), image1, FALSE, FALSE, 0);
-
-    label1 = gtk_label_new_with_mnemonic(_("Apply"));
-    gtk_widget_show(label1);
-    gtk_box_pack_start(GTK_BOX(hbox1), label1, FALSE, FALSE, 0);
-
-    button2 = gtk_button_new();
-    gtk_widget_show(button2);
-    gtk_container_add(GTK_CONTAINER(hbuttonbox1), button2);
-
-    hbox2 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8);
-    qck_set_alignment(hbox2, GTK_ALIGN_CENTER, GTK_ALIGN_CENTER);
-    gtk_widget_show(hbox2);
-    gtk_container_add(GTK_CONTAINER(button2), hbox2);
-
-    image2 = gtk_image_new_from_icon_name("gtk-cancel", GTK_ICON_SIZE_BUTTON);
-    gtk_widget_show(image2);
-    gtk_box_pack_start(GTK_BOX(hbox2), image2, FALSE, FALSE, 0);
-
-    label2 = gtk_label_new_with_mnemonic(_("Cancel"));
-    gtk_widget_show(label2);
-    gtk_box_pack_start(GTK_BOX(hbox2), label2, FALSE, FALSE, 0);
-
-
-
-
-
-
-    return result;
-
-}
-
-
-
-
-
-
-
-
diff --git a/src/gui/dialogs/plugins.h b/src/gui/dialogs/plugins.h
deleted file mode 100644
index b5939b9..0000000
--- a/src/gui/dialogs/plugins.h
+++ /dev/null
@@ -1,40 +0,0 @@
-
-/* Chrysalide - Outil d'analyse de fichiers binaires
- * plugins.h - prototypes pour la boîte de dialogue permettant une sélection des greffons
- *
- * Copyright (C) 2015-2018 Cyrille Bagard
- *
- *  This file is part of Chrysalide.
- *
- *  Chrysalide is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 3 of the License, or
- *  (at your option) any later version.
- *
- *  Chrysalide is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with Chrysalide.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-
-#ifndef _GUI_DIALOGS_PLUGINS_H
-#define _GUI_DIALOGS_PLUGINS_H
-
-
-#include <gtk/gtk.h>
-
-
-#include "../../analysis/binary.h"
-
-
-
-/* Construit la fenêtre de sélection des sections. */
-GtkWidget *create_plugins_selection_dialog(GLoadedBinary *, GtkWindow *);
-
-
-
-#endif  /* _GUI_DIALOGS_PLUGINS_H */
-- 
cgit v0.11.2-87-g4458