summaryrefslogtreecommitdiff
path: root/eel/eel-labeled-image.c
diff options
context:
space:
mode:
Diffstat (limited to 'eel/eel-labeled-image.c')
-rw-r--r--eel/eel-labeled-image.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/eel/eel-labeled-image.c b/eel/eel-labeled-image.c
index d58d808e..1928d064 100644
--- a/eel/eel-labeled-image.c
+++ b/eel/eel-labeled-image.c
@@ -1058,13 +1058,8 @@ labeled_image_update_alignments (EelLabeledImage *labeled_image)
if (labeled_image->details->fill)
{
-#if GTK_CHECK_VERSION (3, 16, 0)
x_alignment = gtk_label_get_xalign (GTK_LABEL (labeled_image->details->label));
y_alignment = gtk_label_get_yalign (GTK_LABEL (labeled_image->details->label));
-#else
- gtk_misc_get_alignment (GTK_MISC (labeled_image->details->label),
- &x_alignment, &y_alignment);
-#endif
/* Only the label is shown */
if (!labeled_image_show_image (labeled_image))
@@ -1100,14 +1095,8 @@ labeled_image_update_alignments (EelLabeledImage *labeled_image)
}
-#if GTK_CHECK_VERSION (3, 16, 0)
gtk_label_set_xalign (GTK_LABEL (labeled_image->details->label), x_alignment);
gtk_label_set_yalign (GTK_LABEL (labeled_image->details->label), y_alignment);
-#else
- gtk_misc_set_alignment (GTK_MISC (labeled_image->details->label),
- x_alignment,
- y_alignment);
-#endif
}
}