summaryrefslogtreecommitdiff
path: root/gtk/gtktextbuffer.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-06-06 21:32:55 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-06-06 21:32:55 -0400
commitb251893030a0da7c98e139aaf70d8397707ecb18 (patch)
tree3581e01832786ad53a6b84ebb212d560f3af3237 /gtk/gtktextbuffer.c
parent15257e39222e8313c850ac2a9ba371cc2c648cc7 (diff)
downloadgtk+-b251893030a0da7c98e139aaf70d8397707ecb18.tar.gz
Drop pango version checks
We are requiring pango 1.45.0 now, so no need to Keep these ifdefs in the code any longer.
Diffstat (limited to 'gtk/gtktextbuffer.c')
-rw-r--r--gtk/gtktextbuffer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index edccc567c7..f50d27903a 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -4772,7 +4772,6 @@ get_tag_for_attributes (PangoAttrIterator *iter)
g_object_set (tag, "underline-rgba", &rgba, NULL);
}
-#if PANGO_VERSION_CHECK(1,45,0)
attr = pango_attr_iterator_get (iter, PANGO_ATTR_OVERLINE);
if (attr)
g_object_set (tag, "overline", ((PangoAttrInt*)attr)->value, NULL);
@@ -4790,7 +4789,6 @@ get_tag_for_attributes (PangoAttrIterator *iter)
rgba.alpha = 1.;
g_object_set (tag, "overline-rgba", &rgba, NULL);
}
-#endif
attr = pango_attr_iterator_get (iter, PANGO_ATTR_STRIKETHROUGH);
if (attr)