[gtk/ft.headers] gkt/gtkfontchooserwidget.c: Include FreeType Headers properly



commit e5cf88e10275027778c4b2ae8ed5d8cf7821c66e
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Jan 7 12:11:10 2019 +0800

    gkt/gtkfontchooserwidget.c: Include FreeType Headers properly
    
    Like what was done in the master branch, we ought to include the
    FreeType headers via the macros that are defined via including ft2build.h.

 gtk/gtkfontchooserwidget.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfontchooserwidget.c b/gtk/gtkfontchooserwidget.c
index b858d92c29..8cd141473d 100644
--- a/gtk/gtkfontchooserwidget.c
+++ b/gtk/gtkfontchooserwidget.c
@@ -58,8 +58,11 @@
 #include <hb.h>
 #include <hb-ot.h>
 #include <hb-ft.h>
-#include <freetype/freetype.h>
-#include <freetype/ftmm.h>
+
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include FT_MULTIPLE_MASTERS_H
+
 #include "language-names.h"
 #include "script-names.h"
 #endif


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