Try making it build with GTK+ 3.4

This commit is contained in:
Přemysl Eric Janouch 2015-02-08 15:48:01 +01:00
parent de133622a2
commit af51c00c93
1 changed files with 4 additions and 0 deletions

View File

@ -14,7 +14,11 @@
/* Whatever, I don't care, someone should at least appreciate my effort of /* 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! * 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 #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 <gtk/gtk.h>
#include <json-glib/json-glib.h> #include <json-glib/json-glib.h>