From b3ca2717dd0ad4c2a7db65145f6a0dc890e42b72 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 15 Dec 2020 21:55:52 +0100 Subject: Clean up includes --- .clant.json | 4 ++++ NEWS | 6 ++++++ src/gtk2_in_qt5.cpp | 4 ++-- src/qt5_in_gtk.cpp | 13 +++++++------ src/suil_internal.h | 6 +++++- src/x11_in_qt5.cpp | 4 ++-- suil/suil.h | 1 + wscript | 2 +- 8 files changed, 28 insertions(+), 12 deletions(-) create mode 100644 .clant.json diff --git a/.clant.json b/.clant.json new file mode 100644 index 0000000..6f11716 --- /dev/null +++ b/.clant.json @@ -0,0 +1,4 @@ +{ + "version": "1.0.0", + "mapping_files": ["qt5_11.imp"] +} diff --git a/NEWS b/NEWS index 945aea2..9476c2e 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +suil (0.10.9) unstable; + + * Clean up minor code issues + + -- David Robillard Tue, 15 Dec 2020 20:55:16 +0000 + suil (0.10.8) stable; * Fix X11 in Gtk size regressions (thanks Robin Gareus) diff --git a/src/gtk2_in_qt5.cpp b/src/gtk2_in_qt5.cpp index f6bf48e..8fb7be7 100644 --- a/src/gtk2_in_qt5.cpp +++ b/src/gtk2_in_qt5.cpp @@ -33,10 +33,10 @@ #include #include #include -#include #include +#include -#include +#include extern "C" { diff --git a/src/qt5_in_gtk.cpp b/src/qt5_in_gtk.cpp index 6d0c001..5ce395d 100644 --- a/src/qt5_in_gtk.cpp +++ b/src/qt5_in_gtk.cpp @@ -17,30 +17,31 @@ #include "suil_internal.h" -#include "suil/suil.h" -#include "lv2/options/options.h" -#include "lv2/urid/urid.h" #include "lv2/core/lv2.h" +#include "lv2/options/options.h" #include "lv2/ui/ui.h" +#include "lv2/urid/urid.h" +#include "suil/suil.h" #include #include #include +#include #include #undef signals -#include #include #include #include +#include #if GTK_MAJOR_VERSION == 3 #include #endif -#include -#include +#include +#include extern "C" { diff --git a/src/suil_internal.h b/src/suil_internal.h index c55e2ee..bc67bf3 100644 --- a/src/suil_internal.h +++ b/src/suil_internal.h @@ -20,10 +20,14 @@ #include "dylib.h" #include "suil_config.h" +#include "lv2/core/lv2.h" #include "lv2/ui/ui.h" #include "suil/suil.h" -#include +#ifndef _WIN32 +# include +#endif + #include #include #include diff --git a/src/x11_in_qt5.cpp b/src/x11_in_qt5.cpp index 8b96d50..87ddc2b 100644 --- a/src/x11_in_qt5.cpp +++ b/src/x11_in_qt5.cpp @@ -31,8 +31,8 @@ #include #include -#include -#include +#include +#include #undef signals diff --git a/suil/suil.h b/suil/suil.h index 48b418e..8cdafd6 100644 --- a/suil/suil.h +++ b/suil/suil.h @@ -24,6 +24,7 @@ #include "lv2/core/lv2.h" #include +#include #ifdef _WIN32 # define SUIL_LIB_IMPORT __declspec(dllimport) diff --git a/wscript b/wscript index 69d4049..60e3967 100644 --- a/wscript +++ b/wscript @@ -4,7 +4,7 @@ from waflib import Build, Logs, Options, TaskGen from waflib.extras import autowaf # Semver package/library version -SUIL_VERSION = '0.10.8' +SUIL_VERSION = '0.10.9' SUIL_MAJOR_VERSION = SUIL_VERSION[0:SUIL_VERSION.find('.')] # Mandatory waf variables -- cgit v1.2.1