diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-01-25 19:50:59 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-01-25 19:50:59 +0100 |
commit | 979f370f721aa269cd00df542c9c17940af86782 (patch) | |
tree | b402f8e05c78d042aaa2e89c7c2c4fdb0d57f665 /src/eom-print-image-setup.c | |
parent | 4e7953d89dbe3e3166dd13a33669f02b2837811b (diff) | |
download | eom-979f370f721aa269cd00df542c9c17940af86782.tar.bz2 eom-979f370f721aa269cd00df542c9c17940af86782.tar.xz |
GTK3: fix previous GtkMisc deprecation commit
Diffstat (limited to 'src/eom-print-image-setup.c')
-rw-r--r-- | src/eom-print-image-setup.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/eom-print-image-setup.c b/src/eom-print-image-setup.c index c8c0e46..59f075a 100644 --- a/src/eom-print-image-setup.c +++ b/src/eom-print-image-setup.c @@ -656,7 +656,7 @@ wrap_in_frame (const gchar *label, gchar *bold_text; label_widget = gtk_label_new (""); -#if GTK_CHECK_VERSION (3, 14, 0) +#if GTK_CHECK_VERSION (3, 0, 0) gtk_widget_set_halign (label_widget, GTK_ALIGN_START); #else gtk_misc_set_alignment (GTK_MISC (label_widget), 0.0, 0.5); @@ -703,8 +703,8 @@ table_attach_spin_button_with_label (GtkWidget *table, GtkWidget *label, *spin_button; label = gtk_label_new_with_mnemonic (text_label); -#if GTK_CHECK_VERSION (3, 14, 0) - gtk_widget_set_halign (label, GTK_ALIGN_START); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_label_set_xalign (GTK_LABEL (label), 0.0); #else gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); #endif @@ -937,8 +937,8 @@ eom_print_image_setup_init (EomPrintImageSetup *setup) #endif label = gtk_label_new_with_mnemonic (_("C_enter:")); -#if GTK_CHECK_VERSION (3, 14, 0) - gtk_widget_set_halign (label, GTK_ALIGN_START); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_label_set_xalign (GTK_LABEL (label), 0.0); #else gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); #endif @@ -1024,8 +1024,8 @@ eom_print_image_setup_init (EomPrintImageSetup *setup) priv->scaling = hscale; label = gtk_label_new_with_mnemonic (_("_Unit:")); -#if GTK_CHECK_VERSION (3, 14, 0) - gtk_widget_set_halign (label, GTK_ALIGN_START); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_label_set_xalign (GTK_LABEL (label), 0.0); #else gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); #endif |