[gtk/ft.headers] gtk/gtkfontchooserwidget.c: Include FreeType Headers properly
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ft.headers] gtk/gtkfontchooserwidget.c: Include FreeType Headers properly
- Date: Mon, 7 Jan 2019 04:14:09 +0000 (UTC)
commit 728339e1ce21f0d80d0c5667e1040dff3f3578a1
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Jan 7 12:11:10 2019 +0800
gtk/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]