summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gtk2_in_qt5.cpp1
-rw-r--r--wscript3
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gtk2_in_qt5.cpp b/src/gtk2_in_qt5.cpp
index 75258b0..77af460 100644
--- a/src/gtk2_in_qt5.cpp
+++ b/src/gtk2_in_qt5.cpp
@@ -22,7 +22,6 @@
#undef signals
#include <gtk/gtk.h>
-#include <gdk/gdkx.h>
#include "./suil_config.h"
#include "./suil_internal.h"
diff --git a/wscript b/wscript
index 4545a3f..25303cf 100644
--- a/wscript
+++ b/wscript
@@ -105,8 +105,9 @@ def configure(conf):
autowaf.define(conf, 'SUIL_GTK3_LIB_NAME', conf.options.gtk3_lib_name);
if conf.env.HAVE_GTK2 and conf.env.HAVE_QT4:
- autowaf.define(conf, 'SUIL_WITH_GTK2_IN_QT4', 1)
autowaf.define(conf, 'SUIL_WITH_QT4_IN_GTK2', 1)
+ if conf.env.HAVE_GTK2_X11:
+ autowaf.define(conf, 'SUIL_WITH_GTK2_IN_QT4', 1)
if conf.env.HAVE_GTK2 and conf.env.HAVE_QT5:
autowaf.define(conf, 'SUIL_WITH_GTK2_IN_QT5', 1)