diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-20 20:12:04 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-22 11:04:28 -0400 |
commit | 5feba67a3dc52a25014498c9c3fe12b29e6a0935 (patch) | |
tree | f21fa12f62536352e994050f0fcf2a6dba774904 /demos | |
parent | f1f197e3b94a55d5cbfaae2498f991a0ae733b32 (diff) | |
download | gtk+-5feba67a3dc52a25014498c9c3fe12b29e6a0935.tar.gz |
Handle new pango attribute type
Update all the places where we switch over
PangoAttrType to handle PANGO_ATTR_TEXT_TRANSFORM,
and do nothing for now - text-transform support
will land in 4.6.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/fontify.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/demos/gtk-demo/fontify.c b/demos/gtk-demo/fontify.c index a0a7e95428..8eb3c148f4 100644 --- a/demos/gtk-demo/fontify.c +++ b/demos/gtk-demo/fontify.c @@ -269,6 +269,11 @@ insert_tags_for_attributes (GtkTextBuffer *buffer, case PANGO_ATTR_BACKGROUND_ALPHA: break; +#if PANGO_VERSION_CHECK(1,49,0) + case PANGO_ATTR_TEXT_TRANSFORM: + break; +#endif + case PANGO_ATTR_INVALID: default: g_assert_not_reached (); |