From e71534e3e72978f577339f415135016e34c5af18 Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Sun, 26 Jul 2015 10:38:37 +0200 Subject: [PATCH] [glib] Partially revert ffc798a7 https://bugs.freedesktop.org/show_bug.cgi?id=88788 --- glib/demo/main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/glib/demo/main.c b/glib/demo/main.c index 24c7b51..ee0d3ef 100644 --- a/glib/demo/main.c +++ b/glib/demo/main.c @@ -214,8 +214,7 @@ pgd_demo_get_auth_dialog (GFile *uri_file) gtk_widget_show (main_vbox); label = gtk_label_new (NULL); - gtk_widget_set_halign (label, GTK_ALIGN_START); - gtk_widget_set_valign (label, GTK_ALIGN_CENTER); + gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); file_name = g_file_get_basename (uri_file); format = g_strdup_printf ("%s\n\n%s", @@ -242,8 +241,7 @@ pgd_demo_get_auth_dialog (GFile *uri_file) gtk_widget_show (table); label = gtk_label_new_with_mnemonic ("_Password:"); - gtk_widget_set_halign (label, GTK_ALIGN_START); - gtk_widget_set_valign (label, GTK_ALIGN_CENTER); + gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); password_entry = gtk_entry_new (); gtk_entry_set_visibility (GTK_ENTRY (password_entry), FALSE); -- 2.1.4