summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstyle.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-22 15:26:23 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-22 15:26:23 -0400
commitba95ef63da76480587ffbec397220410d43e73cd (patch)
treeed8af35666a2b7f341ee5ed403c4907f0fbe6653 /gtk/gtkcssstyle.c
parentbea4aa31ea020226f0f77adff07b62753c50f975 (diff)
downloadgtk+-bump-pango.tar.gz
Drop PANGO_VERSION_CHECK checksbump-pango
We require Pango 1.49 now.
Diffstat (limited to 'gtk/gtkcssstyle.c')
-rw-r--r--gtk/gtkcssstyle.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkcssstyle.c b/gtk/gtkcssstyle.c
index 01e7467a10..92a7398988 100644
--- a/gtk/gtkcssstyle.c
+++ b/gtk/gtkcssstyle.c
@@ -486,7 +486,6 @@ gtk_css_style_get_pango_attributes (GtkCssStyle *style)
attrs = add_pango_attr (attrs, pango_attr_letter_spacing_new (letter_spacing * PANGO_SCALE));
}
-#if PANGO_VERSION_CHECK(1, 49, 0)
/* line-height */
{
double height = gtk_css_line_height_value_get (style->font->line_height);
@@ -498,7 +497,6 @@ gtk_css_style_get_pango_attributes (GtkCssStyle *style)
attrs = add_pango_attr (attrs, pango_attr_line_height_new (height));
}
}
-#endif
/* OpenType features */