summaryrefslogtreecommitdiff
path: root/src/panels
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-10-10 00:31:50 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-10-10 00:31:50 (GMT)
commit8afd8490dcb695c5e1ab7c55d2305e6af7c97212 (patch)
tree07dfcfd53a5ce5a92733b735edfb5cc72259cd7a /src/panels
parent56549ed6632859db219d5434079ad94381293a0a (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 '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);