diff options
Diffstat (limited to 'capplets/about-me')
-rw-r--r-- | capplets/about-me/eel-alert-dialog.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/capplets/about-me/eel-alert-dialog.c b/capplets/about-me/eel-alert-dialog.c index 1da1f7d9..1527164a 100644 --- a/capplets/about-me/eel-alert-dialog.c +++ b/capplets/about-me/eel-alert-dialog.c @@ -169,27 +169,27 @@ eel_alert_dialog_init (EelAlertDialog *dialog) gtk_label_set_line_wrap (GTK_LABEL (dialog->details->primary_label), TRUE); gtk_label_set_selectable (GTK_LABEL (dialog->details->primary_label), TRUE); gtk_label_set_use_markup (GTK_LABEL (dialog->details->primary_label), TRUE); -#if GTK_CHECK_VERSION (3, 0, 0) - gtk_widget_set_halign (dialog->details->primary_label, GTK_ALIGN_START); - gtk_widget_set_valign (dialog->details->primary_label, GTK_ALIGN_CENTER); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_label_set_xalign (GTK_LABEL (dialog->details->primary_label), 0.0); + gtk_label_set_yalign (GTK_LABEL (dialog->details->primary_label), 0.5); #else gtk_misc_set_alignment (GTK_MISC (dialog->details->primary_label), 0.0, 0.5); #endif gtk_label_set_line_wrap (GTK_LABEL (dialog->details->secondary_label), TRUE); gtk_label_set_selectable (GTK_LABEL (dialog->details->secondary_label), TRUE); -#if GTK_CHECK_VERSION (3, 0, 0) - gtk_widget_set_halign (dialog->details->secondary_label, GTK_ALIGN_START); - gtk_widget_set_valign (dialog->details->secondary_label, GTK_ALIGN_CENTER); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_label_set_xalign (GTK_LABEL (dialog->details->secondary_label), 0.0); + gtk_label_set_yalign (GTK_LABEL (dialog->details->secondary_label), 0.5); #else gtk_misc_set_alignment (GTK_MISC (dialog->details->secondary_label), 0.0, 0.5); #endif gtk_label_set_line_wrap (GTK_LABEL (dialog->details->details_label), TRUE); gtk_label_set_selectable (GTK_LABEL (dialog->details->details_label), TRUE); -#if GTK_CHECK_VERSION (3, 0, 0) - gtk_widget_set_halign (dialog->details->details_label, GTK_ALIGN_START); - gtk_widget_set_valign (dialog->details->details_label, GTK_ALIGN_CENTER); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_label_set_xalign (GTK_LABEL (dialog->details->details_label), 0.0); + gtk_label_set_yalign (GTK_LABEL (dialog->details->details_label), 0.5); #else gtk_misc_set_alignment (GTK_MISC (dialog->details->details_label), 0.0, 0.5); #endif |