summaryrefslogtreecommitdiff
path: root/plugins/ropgadgets
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ropgadgets')
-rw-r--r--plugins/ropgadgets/select.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/plugins/ropgadgets/select.c b/plugins/ropgadgets/select.c
index 2497dd1..3ce04de 100644
--- a/plugins/ropgadgets/select.c
+++ b/plugins/ropgadgets/select.c
@@ -401,7 +401,6 @@ static void register_input_output_panel(GtkAssistant *assistant, GObject *ref)
{
GtkWidget *vbox; /* Support principal */
GtkWidget *frame; /* Support avec encadrement */
- GtkWidget *alignment; /* Disposition sur le support */
GtkWidget *sub_vbox; /* Division verticale */
GtkWidget *radio; /* Choix du type d'entrée */
GtkWidget *combobox; /* Sélection du binaire interne*/
@@ -415,12 +414,11 @@ static void register_input_output_panel(GtkAssistant *assistant, GObject *ref)
/* Fichier de sortie */
- frame = qck_create_frame(_("<b>Input binary</b>"), &alignment, 0, 0, 12, 8);
- gtk_box_pack_start(GTK_BOX(vbox), frame, FALSE, TRUE, 0);
-
sub_vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
gtk_widget_show(sub_vbox);
- gtk_container_add(GTK_CONTAINER(alignment), sub_vbox);
+
+ frame = qck_create_frame(_("<b>Input binary</b>"), sub_vbox, 0, 0, 12, 8);
+ gtk_box_pack_start(GTK_BOX(vbox), frame, FALSE, TRUE, 0);
radio = qck_create_radio_button(ref, "loaded_as_input", _("Use a binary from the current project:"),
NULL, G_CALLBACK(on_input_type_toggle), ref);
@@ -452,12 +450,11 @@ static void register_input_output_panel(GtkAssistant *assistant, GObject *ref)
/* Fichier de sortie */
- frame = qck_create_frame(_("<b>Ouput results</b>"), &alignment, 0, 0, 12, 8);
- gtk_box_pack_start(GTK_BOX(vbox), frame, FALSE, TRUE, 0);
-
sub_vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
gtk_widget_show(sub_vbox);
- gtk_container_add(GTK_CONTAINER(alignment), sub_vbox);
+
+ frame = qck_create_frame(_("<b>Ouput results</b>"), sub_vbox, 0, 0, 12, 8);
+ gtk_box_pack_start(GTK_BOX(vbox), frame, FALSE, TRUE, 0);
checkbutton = qck_create_check_button(ref, "use_output",
_("Save selected ROP gadgets in a file:"),