summaryrefslogtreecommitdiffstats
path: root/src/win_in_gtk2.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-11 05:40:31 +0100
committerDavid Robillard <d@drobilla.net>2021-01-11 14:01:49 +0100
commita25ce7e9b8838c8e341c409aa85d44b55b448239 (patch)
tree1a1ba2c283570e08cba47ed02f04369c0d4378b6 /src/win_in_gtk2.cpp
parent00e62c5b0298aacddae4c65a780e8fb551600782 (diff)
downloadsuil-a25ce7e9b8838c8e341c409aa85d44b55b448239.tar.gz
suil-a25ce7e9b8838c8e341c409aa85d44b55b448239.tar.bz2
suil-a25ce7e9b8838c8e341c409aa85d44b55b448239.zip
Suppress Gtk and Qt header warnings in code
Diffstat (limited to 'src/win_in_gtk2.cpp')
-rw-r--r--src/win_in_gtk2.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/win_in_gtk2.cpp b/src/win_in_gtk2.cpp
index 1a34dfa..14b82e8 100644
--- a/src/win_in_gtk2.cpp
+++ b/src/win_in_gtk2.cpp
@@ -15,12 +15,15 @@
*/
#include "suil_internal.h"
+#include "warnings.h"
#include "lv2/options/options.h"
#include "lv2/urid/urid.h"
+SUIL_DISABLE_GTK_WARNINGS
#include <gdk/gdkwin32.h>
#include <gtk/gtk.h>
+SUIL_RESTORE_WARNINGS
#ifndef WM_MOUSEWHEEL
# define WM_MOUSEWHEEL 0x020A