diff options
author | Diego Celix <dcelix@gmail.com> | 2011-06-11 02:09:49 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-08-28 20:16:56 -0400 |
commit | 372a907e97f4b01a0fd845278db963f5b8221a26 (patch) | |
tree | b77ed3c9789374af87e1fef971e8a3ff637aff9c /gtk/gtkappchooserdialog.c | |
parent | 9dfff27c4259133abbb6032041d781a19a06e612 (diff) | |
download | gtk+-372a907e97f4b01a0fd845278db963f5b8221a26.tar.gz |
gtkappchooserdialog: gtk_misc_set_alignment
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkappchooserdialog.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
Diffstat (limited to 'gtk/gtkappchooserdialog.c')
-rw-r--r-- | gtk/gtkappchooserdialog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkappchooserdialog.c b/gtk/gtkappchooserdialog.c index 0143a16c13..5f0de03766 100644 --- a/gtk/gtkappchooserdialog.c +++ b/gtk/gtkappchooserdialog.c @@ -491,7 +491,8 @@ build_dialog_ui (GtkAppChooserDialog *self) gtk_widget_show (vbox2); self->priv->label = gtk_label_new (""); - gtk_misc_set_alignment (GTK_MISC (self->priv->label), 0, 0.5); + gtk_widget_set_halign (self->priv->label, GTK_ALIGN_START); + gtk_widget_set_valign (self->priv->label, GTK_ALIGN_CENTER); gtk_label_set_line_wrap (GTK_LABEL (self->priv->label), TRUE); gtk_box_pack_start (GTK_BOX (vbox2), self->priv->label, FALSE, FALSE, 0); |