diff options
Diffstat (limited to 'src/dialogs')
-rw-r--r-- | src/dialogs/export.c | 10 | ||||
-rw-r--r-- | src/dialogs/goto.c | 4 | ||||
-rw-r--r-- | src/dialogs/plugins.c | 14 | ||||
-rw-r--r-- | src/dialogs/shellcode.c | 16 |
4 files changed, 22 insertions, 22 deletions
diff --git a/src/dialogs/export.c b/src/dialogs/export.c index 2f572a5..67a3b7c 100644 --- a/src/dialogs/export.c +++ b/src/dialogs/export.c @@ -282,13 +282,13 @@ static void register_output_panel(GtkAssistant *assistant) alignment = qck_create_padded_alignment(8, 8, 8, 8); - vbox = gtk_vbox_new(TRUE, 0); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(vbox); gtk_container_add(GTK_CONTAINER(alignment), vbox); /* Format de sortie */ - hbox = gtk_hbox_new(FALSE, 0); + hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8); gtk_widget_show(hbox); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); @@ -304,7 +304,7 @@ static void register_output_panel(GtkAssistant *assistant) /* Fichier de sortie */ - hbox = gtk_hbox_new(FALSE, 0); + hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8); gtk_widget_show(hbox); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); @@ -439,7 +439,7 @@ static void register_content_panel(GtkAssistant *assistant) alignment = qck_create_padded_alignment(8, 8, 8, 8); - vbox = gtk_vbox_new(TRUE, 0); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(vbox); gtk_container_add(GTK_CONTAINER(alignment), vbox); @@ -448,7 +448,7 @@ static void register_content_panel(GtkAssistant *assistant) frame = qck_create_frame(_("<b>Items to display</b>"), &subalign, 0, 0, 12, 0); gtk_box_pack_start(GTK_BOX(vbox), frame, FALSE, FALSE, 0); - sub_vbox = gtk_vbox_new(FALSE, 0); + sub_vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(sub_vbox); gtk_container_add(GTK_CONTAINER(subalign), sub_vbox); diff --git a/src/dialogs/goto.c b/src/dialogs/goto.c index 5322260..1844712 100644 --- a/src/dialogs/goto.c +++ b/src/dialogs/goto.c @@ -162,7 +162,7 @@ GtkWidget *create_goto_dialog(GtkWindow *parent) dlgvbox = gtk_dialog_get_content_area(GTK_DIALOG(result)); gtk_widget_show(dlgvbox); - vbox = gtk_vbox_new(FALSE, 8); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(vbox); gtk_box_pack_start(GTK_BOX(dlgvbox), vbox, TRUE, TRUE, 0); gtk_container_set_border_width(GTK_CONTAINER(vbox), 8); @@ -189,7 +189,7 @@ GtkWidget *create_goto_dialog(GtkWindow *parent) /* Propriétés de la localisation */ - hbox = gtk_hbox_new(FALSE, 8); + hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8); gtk_widget_show(hbox); gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, TRUE, 0); gtk_container_set_border_width(GTK_CONTAINER(hbox), 8); diff --git a/src/dialogs/plugins.c b/src/dialogs/plugins.c index a1778ae..ea9c9e2 100644 --- a/src/dialogs/plugins.c +++ b/src/dialogs/plugins.c @@ -114,12 +114,12 @@ GtkWidget *create_plugins_selection_dialog(GLoadedBinary *binary, GtkWindow *par - vbox1 = gtk_vbox_new(FALSE, 8); + 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_hbox_new(FALSE, 8); + hbox3 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8); gtk_widget_show(hbox3); gtk_box_pack_start(GTK_BOX(vbox1), hbox3, TRUE, TRUE, 0); @@ -132,7 +132,7 @@ GtkWidget *create_plugins_selection_dialog(GLoadedBinary *binary, GtkWindow *par gtk_widget_show(treeview1); gtk_container_add(GTK_CONTAINER(scrolledwindow1), treeview1); - vbox2 = gtk_vbox_new(TRUE, 0); + vbox2 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(vbox2); gtk_box_pack_start(GTK_BOX(hbox3), vbox2, FALSE, FALSE, 0); @@ -199,11 +199,11 @@ GtkWidget *create_plugins_selection_dialog(GLoadedBinary *binary, GtkWindow *par gtk_box_pack_start(GTK_BOX(vbox1), expander1, FALSE, FALSE, 0); gtk_expander_set_expanded(GTK_EXPANDER(expander1), TRUE); - hbox4 = gtk_hbox_new(FALSE, 0); + hbox4 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8); gtk_widget_show(hbox4); gtk_container_add(GTK_CONTAINER(expander1), hbox4); - vbox3 = gtk_vbox_new(FALSE, 0); + vbox3 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(vbox3); gtk_box_pack_start(GTK_BOX(hbox4), vbox3, TRUE, TRUE, 0); @@ -277,7 +277,7 @@ GtkWidget *create_plugins_selection_dialog(GLoadedBinary *binary, GtkWindow *par gtk_widget_show(alignment1); gtk_container_add(GTK_CONTAINER(button1), alignment1); - hbox1 = gtk_hbox_new(FALSE, 2); + hbox1 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8); gtk_widget_show(hbox1); gtk_container_add(GTK_CONTAINER(alignment1), hbox1); @@ -297,7 +297,7 @@ GtkWidget *create_plugins_selection_dialog(GLoadedBinary *binary, GtkWindow *par gtk_widget_show(alignment2); gtk_container_add(GTK_CONTAINER(button2), alignment2); - hbox2 = gtk_hbox_new(FALSE, 2); + hbox2 = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8); gtk_widget_show(hbox2); gtk_container_add(GTK_CONTAINER(alignment2), hbox2); diff --git a/src/dialogs/shellcode.c b/src/dialogs/shellcode.c index 2f43d99..c6087b8 100644 --- a/src/dialogs/shellcode.c +++ b/src/dialogs/shellcode.c @@ -253,7 +253,7 @@ static void register_bincode_panel(GtkAssistant *assistant) alignment = qck_create_padded_alignment(8, 8, 8, 8); - vbox = gtk_vbox_new(FALSE, 0); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(vbox); gtk_container_add(GTK_CONTAINER(alignment), vbox); @@ -509,7 +509,7 @@ static void register_archi_panel(GtkAssistant *assistant) alignment = qck_create_padded_alignment(8, 8, 8, 8); - vbox = gtk_vbox_new(FALSE, 0); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(vbox); gtk_container_add(GTK_CONTAINER(alignment), vbox); @@ -588,13 +588,13 @@ static void register_output_panel(GtkAssistant *assistant) alignment = qck_create_padded_alignment(8, 8, 8, 8); - vbox = gtk_vbox_new(TRUE, 0); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(vbox); gtk_container_add(GTK_CONTAINER(alignment), vbox); /* Format de sortie */ - hbox = gtk_hbox_new(FALSE, 0); + hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8); gtk_widget_show(hbox); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); @@ -610,7 +610,7 @@ static void register_output_panel(GtkAssistant *assistant) /* Fichier de sortie */ - hbox = gtk_hbox_new(FALSE, 0); + hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8); gtk_widget_show(hbox); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); @@ -747,7 +747,7 @@ static void register_content_panel(GtkAssistant *assistant) alignment = qck_create_padded_alignment(8, 8, 8, 8); - vbox = gtk_vbox_new(TRUE, 0); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(vbox); gtk_container_add(GTK_CONTAINER(alignment), vbox); @@ -756,7 +756,7 @@ static void register_content_panel(GtkAssistant *assistant) frame = qck_create_frame(_("<b>Lines to process</b>"), &subalign, 0, 0, 12, 0); gtk_box_pack_start(GTK_BOX(vbox), frame, FALSE, FALSE, 0); - vbox3 = gtk_vbox_new(FALSE, 0); + vbox3 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(vbox3); gtk_container_add(GTK_CONTAINER(subalign), vbox3); @@ -777,7 +777,7 @@ static void register_content_panel(GtkAssistant *assistant) frame = qck_create_frame(_("<b>Items to display</b>"), &subalign, 0, 0, 12, 0); gtk_box_pack_start(GTK_BOX(vbox), frame, FALSE, FALSE, 0); - vbox4 = gtk_vbox_new(FALSE, 0); + vbox4 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(vbox4); gtk_container_add(GTK_CONTAINER(subalign), vbox4); |