summaryrefslogtreecommitdiff
path: root/src/panels
diff options
context:
space:
mode:
Diffstat (limited to 'src/panels')
-rw-r--r--src/panels/registers.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/panels/registers.c b/src/panels/registers.c
index 184d247..4ad46ea 100644
--- a/src/panels/registers.c
+++ b/src/panels/registers.c
@@ -98,10 +98,8 @@ GtkWidget *build_registers_panel(void)
gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(result), vbox1);
- label1 = gtk_label_new (_("Registers:"));
- gtk_widget_show (label1);
+ label1 = qck_create_label(NULL, NULL, _("Registers:"));
gtk_box_pack_start (GTK_BOX (vbox1), label1, FALSE, FALSE, 0);
- gtk_misc_set_alignment (GTK_MISC (label1), 0, 0.5);
alignment = qck_create_padded_alignment(0, 0, 8, 0);
@@ -177,10 +175,8 @@ GtkWidget *build_registers_panel(void)
- label2 = gtk_label_new (_("Segments:"));
- gtk_widget_show (label2);
+ label2 = qck_create_label(NULL, NULL, _("Segments:"));
gtk_box_pack_start (GTK_BOX (vbox1), label2, FALSE, FALSE, 0);
- gtk_misc_set_alignment (GTK_MISC (label2), 0, 0.5);