1
0
Fork 0

cogl/pango: Remove no longer needed version check

We require pango 1.46 nowadays

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3491>
This commit is contained in:
Bilal Elmoussaoui 2024-01-05 08:53:19 +01:00
parent f20cb09f34
commit 3fcff05847

View file

@ -88,13 +88,7 @@ cogl_pango_font_map_create_context (CoglPangoFontMap *fm)
{
g_return_val_if_fail (COGL_PANGO_IS_FONT_MAP (fm), NULL);
#if PANGO_VERSION_CHECK (1, 22, 0)
/* We can just directly use the pango context from the Cairo font
map */
return pango_font_map_create_context (PANGO_FONT_MAP (fm));
#else
return pango_cairo_font_map_create_context (PANGO_CAIRO_FONT_MAP (fm));
#endif
}
static CoglPangoFontMapPriv *