mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-03 17:21:11 +00:00
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
This commit is contained in:
parent
9dfff27c42
commit
372a907e97
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user