diff options
author | Diego Celix <dcelix@gmail.com> | 2011-06-10 02:26:43 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-06-10 17:59:55 -0400 |
commit | c92600c00f7046bc46e780cffeb7593afefe8af1 (patch) | |
tree | e532bf5b14ff379f09453f335c75b13dd8eb2baa | |
parent | 0a75ffd4a3d0a7b526408e17aa7ee36a23162c2a (diff) | |
download | gtk+-c92600c00f7046bc46e780cffeb7593afefe8af1.tar.gz |
gtk/gtkassistant: gtk_misc_set_alignment replacing
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkassistant.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
-rw-r--r-- | gtk/gtkassistant.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c index 69fc67e1d0..ccf419d94f 100644 --- a/gtk/gtkassistant.c +++ b/gtk/gtkassistant.c @@ -1588,10 +1588,12 @@ gtk_assistant_insert_page (GtkAssistant *assistant, page_info->regular_title = gtk_label_new (NULL); page_info->current_title = gtk_label_new (NULL); - gtk_misc_set_alignment (GTK_MISC (page_info->regular_title), 0.,0.5); + gtk_widget_set_halign (page_info->regular_title, GTK_ALIGN_START); + gtk_widget_set_valign (page_info->regular_title, GTK_ALIGN_CENTER); gtk_widget_show (page_info->regular_title); - gtk_misc_set_alignment (GTK_MISC (page_info->current_title), 0.,0.5); + gtk_widget_set_halign (page_info->current_title, GTK_ALIGN_START); + gtk_widget_set_valign (page_info->current_title, GTK_ALIGN_CENTER); gtk_widget_hide (page_info->current_title); context = gtk_widget_get_style_context (page_info->current_title); |