diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index 18f59512a3..a9e9efbd87 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -2239,7 +2239,8 @@ add_credits_section (GtkAboutDialog *about, label = gtk_label_new (markup); gtk_label_set_use_markup (GTK_LABEL (label), TRUE); g_free (markup); - gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5); + gtk_widget_set_halign (label, GTK_ALIGN_END); + gtk_widget_set_valign (label, GTK_ALIGN_CENTER); gtk_grid_attach (grid, label, 0, *row, 1, 1); for (p = people; *p; p++) @@ -2328,7 +2329,8 @@ add_credits_section (GtkAboutDialog *about, label = gtk_label_new (str->str); gtk_label_set_use_markup (GTK_LABEL (label), TRUE); g_string_free (str, TRUE); - gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); + gtk_widget_set_halign (label, GTK_ALIGN_START); + gtk_widget_set_valign (label, GTK_ALIGN_CENTER); gtk_grid_attach (grid, label, 1, *row, 1, 1); (*row)++; }