summaryrefslogtreecommitdiff
path: root/src/panels
diff options
context:
space:
mode:
Diffstat (limited to 'src/panels')
-rw-r--r--src/panels/registers.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/panels/registers.c b/src/panels/registers.c
index 4ad46ea..e7efd75 100644
--- a/src/panels/registers.c
+++ b/src/panels/registers.c
@@ -79,7 +79,6 @@ GtkWidget *build_registers_panel(void)
GtkWidget *label2;
GtkWidget *label; /* Etiquette textuelle */
- GtkWidget *alignment; /* Décallage de contenu */
GtkWidget *entry; /* Zone de saisie */
@@ -102,12 +101,10 @@ GtkWidget *build_registers_panel(void)
gtk_box_pack_start (GTK_BOX (vbox1), label1, FALSE, FALSE, 0);
- alignment = qck_create_padded_alignment(0, 0, 8, 0);
- gtk_box_pack_start(GTK_BOX(vbox1), alignment, FALSE, TRUE, 0);
-
table1 = gtk_table_new(7, 3, FALSE);
+ qck_set_margins(table1, 0, 0, 8, 0);
gtk_widget_show(table1);
- gtk_container_add(GTK_CONTAINER(alignment), table1);
+ gtk_box_pack_start(GTK_BOX(vbox1), table1, FALSE, TRUE, 0);
label = qck_create_label(NULL, NULL, "eax: ");
gtk_table_attach(GTK_TABLE(table1), label, 0, 1, 0, 1, GTK_FILL, 0, 0, 0);