gdk: Disable deprecation warnings

We don't want to break the build because GDK deprecated some symbol.
This commit is contained in:
Emmanuele Bassi 2014-12-03 12:07:06 +00:00
parent 3879bacc78
commit 7d7eb8aabd

View File

@ -28,6 +28,9 @@
#endif
#include <cogl/cogl.h>
#define GDK_DISABLE_DEPRECATION_WARNINGS
#include <gdk/gdk.h>
#ifdef GDK_WINDOWING_X11
#include <gdk/gdkx.h>