about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/wrapped/wrappedpangoft2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wrapped/wrappedpangoft2.c b/src/wrapped/wrappedpangoft2.c
index fff605ea..4734196c 100644
--- a/src/wrapped/wrappedpangoft2.c
+++ b/src/wrapped/wrappedpangoft2.c
@@ -14,6 +14,10 @@
 const char* pangoft2Name = "libpangoft2-1.0.so.0";
 #define LIBNAME pangoft2
 
+#define PRE_INIT    \
+    if(box64_nogtk) \
+        return -1;
+
 #define NEEDED_LIBS "libfontconfig.so.1", "libfreetype.so.6"
 
 #include "wrappedlib_init.h"