summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-15 18:20:06 +0100
committerDavid Robillard <d@drobilla.net>2020-12-15 19:32:03 +0100
commite33f4f6a197eb3cae29dd42ea728f5f782a29897 (patch)
treefe42729109d9b04718301f7b223dc00032553dc2
parente9fccb983f4eb0fde2ffc7f25302da08eb5e8853 (diff)
downloadganv-e33f4f6a197eb3cae29dd42ea728f5f782a29897.tar.gz
ganv-e33f4f6a197eb3cae29dd42ea728f5f782a29897.tar.bz2
ganv-e33f4f6a197eb3cae29dd42ea728f5f782a29897.zip
Use correct include for GdkEvent
-rw-r--r--.clant.json4
-rw-r--r--.includes.imp4
-rw-r--r--ganv/Canvas.hpp2
3 files changed, 9 insertions, 1 deletions
diff --git a/.clant.json b/.clant.json
new file mode 100644
index 0000000..76cae6d
--- /dev/null
+++ b/.clant.json
@@ -0,0 +1,4 @@
+{
+ "version": "1.0.0",
+ "mapping_files": [".includes.imp"]
+}
diff --git a/.includes.imp b/.includes.imp
new file mode 100644
index 0000000..d204116
--- /dev/null
+++ b/.includes.imp
@@ -0,0 +1,4 @@
+[
+ { "symbol": [ "GdkEvent", "private", "<gdk/gdk.h>", "public" ] },
+ { "symbol": [ "std::ostringstream", "private", "<sstream>", "public" ] }
+]
diff --git a/ganv/Canvas.hpp b/ganv/Canvas.hpp
index 5dd91df..350a6e7 100644
--- a/ganv/Canvas.hpp
+++ b/ganv/Canvas.hpp
@@ -22,7 +22,7 @@
#include "ganv/wrap.hpp"
#include <cairo.h>
-#include <gdkmm/event.h>
+#include <gdk/gdk.h>
#include <glib.h>
#include <gtkmm/layout.h>
#include <sigc++/signal.h>