settings: Include pangofc-fontmap.h header on Wayland
authornick <oavc-fujie@yandex.com>
Mon, 29 Jun 2015 19:37:26 +0000 (20:37 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 29 Jun 2015 19:41:04 +0000 (20:41 +0100)
In case the X11 backend is not enabled, we still need to include the
pangofc-fontmap.h header file, as we use the Pango/FontConfig API in
both the X11 and Wayland case.

https://bugzilla.gnome.org/show_bug.cgi?id=751625

gtk/gtksettings.c

index 327faf5ab9ff7cd2f3c90940b0e428e26ef1abb1..a40cb844798f7c189c8b71c005503e1d26fcd8e4 100644 (file)
@@ -41,6 +41,7 @@
 
 #ifdef GDK_WINDOWING_WAYLAND
 #include "wayland/gdkwayland.h"
+#include <pango/pangofc-fontmap.h>
 #endif
 
 #ifdef GDK_WINDOWING_BROADWAY