From af51c00c93e6467899b09dfb703385d82ff75c86 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 8 Feb 2015 15:48:01 +0100
Subject: Try making it build with GTK+ 3.4
---
liblogdiag/liblogdiag.h | 4 ++++
1 file changed, 4 insertions(+)
(limited to 'liblogdiag')
diff --git a/liblogdiag/liblogdiag.h b/liblogdiag/liblogdiag.h
index 797dd4a..2348603 100644
--- a/liblogdiag/liblogdiag.h
+++ b/liblogdiag/liblogdiag.h
@@ -14,7 +14,11 @@
/* Whatever, I don't care, someone should at least appreciate my effort of
* porting it to GTK+ 3 in the first place. You make me work for free!
*/
+#ifdef GDK_VERSION_3_8
#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_8
+#else // ! GDK_VERSION_3_8
+#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_4
+#endif // ! GDK_VERSION_3_8
#include
#include
--
cgit v1.2.3-70-g09d2