summaryrefslogtreecommitdiff
path: root/gtk/gtkpango.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/gtkpango.c
parentbea4aa31ea020226f0f77adff07b62753c50f975 (diff)
downloadgtk+-ba95ef63da76480587ffbec397220410d43e73cd.tar.gz
Drop PANGO_VERSION_CHECK checksbump-pango
We require Pango 1.49 now.
Diffstat (limited to 'gtk/gtkpango.c')
-rw-r--r--gtk/gtkpango.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkpango.c b/gtk/gtkpango.c
index beb4a73ef0..0fa65a3220 100644
--- a/gtk/gtkpango.c
+++ b/gtk/gtkpango.c
@@ -249,7 +249,6 @@ attribute_from_text (GtkBuilder *builder,
color->blue * 65535);
}
break;
-#if PANGO_VERSION_CHECK(1, 49, 0)
case PANGO_ATTR_LINE_HEIGHT:
if (gtk_builder_value_from_string_type (builder, G_TYPE_DOUBLE, value, &val, error))
attribute = pango_attr_line_height_new (g_value_get_double (&val));
@@ -262,7 +261,6 @@ attribute_from_text (GtkBuilder *builder,
if (gtk_builder_value_from_string_type (builder, PANGO_TYPE_TEXT_TRANSFORM, value, &val, error))
attribute = pango_attr_text_transform_new (g_value_get_enum (&val));
break;
-#endif
case PANGO_ATTR_INVALID:
default:
break;