mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-27 10:30:17 +01:00
cairo-util: Add missing HAVE_PANGO guard
For pango_cairo_font_map_set_default(). Fixes #720 Suggested-by: Pekka Paalanen <pekka.paalanen@collabora.com> Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
06365e602b
commit
7aac1acad8
1 changed files with 2 additions and 0 deletions
|
|
@ -694,7 +694,9 @@ cleanup_after_cairo(void)
|
|||
/* some clients, particular weston-editor, still creates indirectly a
|
||||
* new font map; this makes sure we untie that up and avoid an assert
|
||||
* from cairo */
|
||||
#ifdef HAVE_PANGO
|
||||
pango_cairo_font_map_set_default(NULL);
|
||||
#endif
|
||||
cairo_debug_reset_static_data();
|
||||
#ifdef HAVE_PANGO
|
||||
FcFini();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue