diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-10-10 00:31:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-10-10 00:31:50 (GMT) |
commit | 8afd8490dcb695c5e1ab7c55d2305e6af7c97212 (patch) | |
tree | 07dfcfd53a5ce5a92733b735edfb5cc72259cd7a /plugins | |
parent | 56549ed6632859db219d5434079ad94381293a0a (diff) |
Fixed all remaining gtk warnings about deprecated declarations.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@590 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ropgadgets/select.c | 15 |
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:"), |