diff options
author | David Robillard <d@drobilla.net> | 2017-10-03 11:43:03 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-10-04 20:04:00 +0200 |
commit | ba7b0524cc72ef4eaef5ef2f337fff7fb6d55347 (patch) | |
tree | b27f3ee6e513510d0f9b87d847df51ec8c438319 | |
parent | aecc6031ed6b8e686a9ce83704a8a8ae3d576f5d (diff) | |
download | suil-ba7b0524cc72ef4eaef5ef2f337fff7fb6d55347.tar.gz suil-ba7b0524cc72ef4eaef5ef2f337fff7fb6d55347.tar.bz2 suil-ba7b0524cc72ef4eaef5ef2f337fff7fb6d55347.zip |
Remove X11 dependency for gtk2 in qt5
-rw-r--r-- | src/gtk2_in_qt5.cpp | 1 | ||||
-rw-r--r-- | wscript | 3 |
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" @@ -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) |