summaryrefslogtreecommitdiff
path: root/src/eom-print-image-setup.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 21:15:38 +0300
committerraveit65 <[email protected]>2018-01-30 11:56:38 +0100
commit0cce876dac2617c9cb7145ad6815c80b2040403e (patch)
tree666c114e778502870bc5831dc19ea3aa2135e8e2 /src/eom-print-image-setup.c
parentf09cf54ef735e19c153ca44c5d13b06c5dddd2f1 (diff)
downloadeom-0cce876dac2617c9cb7145ad6815c80b2040403e.tar.bz2
eom-0cce876dac2617c9cb7145ad6815c80b2040403e.tar.xz
require GTK+ 3.22 and GLib 2.50
and drop additional checks for min/max GLib versions, it's not needed
Diffstat (limited to 'src/eom-print-image-setup.c')
-rw-r--r--src/eom-print-image-setup.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/eom-print-image-setup.c b/src/eom-print-image-setup.c
index 0e7b43d..b396750 100644
--- a/src/eom-print-image-setup.c
+++ b/src/eom-print-image-setup.c
@@ -669,11 +669,7 @@ grid_attach_spin_button_with_label (GtkWidget *grid,
GtkWidget *label, *spin_button;
label = gtk_label_new_with_mnemonic (text_label);
-#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
spin_button = gtk_spin_button_new_with_range (0, 100, 0.01);
gtk_spin_button_set_digits (GTK_SPIN_BUTTON (spin_button), 2);
gtk_entry_set_width_chars (GTK_ENTRY (spin_button), 6);
@@ -877,11 +873,7 @@ eom_print_image_setup_init (EomPrintImageSetup *setup)
2, 1);
label = gtk_label_new_with_mnemonic (_("C_enter:"));
-#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
combobox = gtk_combo_box_text_new ();
gtk_combo_box_text_insert_text (GTK_COMBO_BOX_TEXT (combobox),
@@ -927,11 +919,7 @@ eom_print_image_setup_init (EomPrintImageSetup *setup)
priv->scaling = hscale;
label = gtk_label_new_with_mnemonic (_("_Unit:"));
-#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
combobox = gtk_combo_box_text_new ();
gtk_combo_box_text_insert_text (GTK_COMBO_BOX_TEXT (combobox), UNIT_MM,