[gtk+] settings: Include pangofc-fontmap.h header on Wayland



commit 802b006b3768ddc8c8cdf0af27428e7042c36509
Author: nick <oavc-fujie yandex com>
Date:   Mon Jun 29 20:37:26 2015 +0100

    settings: Include pangofc-fontmap.h header on Wayland
    
    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 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 327faf5..a40cb84 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -41,6 +41,7 @@
 
 #ifdef GDK_WINDOWING_WAYLAND
 #include "wayland/gdkwayland.h"
+#include <pango/pangofc-fontmap.h>
 #endif
 
 #ifdef GDK_WINDOWING_BROADWAY


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]