diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-01-08 07:39:36 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-01-08 07:39:36 (GMT) |
commit | 61a99411489f30089fc5a85b07ca7251f720ca1a (patch) | |
tree | e9ae0b2206c58a20bb1429c1a0f7c598a2ea9e17 /src/panels | |
parent | 5c88982fafe33c1183479e555992c759266b708e (diff) |
Removed deprecation warnings about gtk_misc_set_alignment().
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@450 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/panels')
-rw-r--r-- | src/panels/registers.c | 8 |
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); |