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);