commit: 714dea37efa4ef1be1b0bb12ef56c8128fcfd24f
parent 2bdcf0acfc94f64fd2c287bd560143d3d840b9db
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 16 Aug 2021 16:17:06 +0200
badwolf.h: Add WEBKIT_CHECK_VERSION
Thanks for people inability to check the README
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/badwolf.h b/badwolf.h
@@ -5,6 +5,10 @@
#include <inttypes.h> /* uint64_t */
#include <webkit2/webkit2.h>
+#if ! WEBKIT_CHECK_VERSION(2,32,0)
+#error WebkitGTK 2.32.0 is the latest supported version for badwolf.
+#endif
+
extern const gchar *homepage;
extern const gchar *version;