summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-02-08 15:48:01 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-02-08 15:48:01 +0100
commitaf51c00c93e6467899b09dfb703385d82ff75c86 (patch)
tree44f216ae38f1edc6b4684e0247fcca917025a7a2
parentde133622a22e98db0765de1cf7eb7b040b74e16e (diff)
downloadlogdiag-af51c00c93e6467899b09dfb703385d82ff75c86.tar.gz
logdiag-af51c00c93e6467899b09dfb703385d82ff75c86.tar.xz
logdiag-af51c00c93e6467899b09dfb703385d82ff75c86.zip
Try making it build with GTK+ 3.4
-rw-r--r--liblogdiag/liblogdiag.h4
1 files changed, 4 insertions, 0 deletions
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 <gtk/gtk.h>
#include <json-glib/json-glib.h>