summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-simple-anim.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-07-29 18:43:23 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2019-07-29 18:43:23 +0100
commitd9ede213fef638f863ba77dff55420ca69daf1cf (patch)
tree333450cbb0c12d108f37e45f5fb8009890264737 /gdk-pixbuf/gdk-pixbuf-simple-anim.c
parentce875584786ff04fea0333af58a0889e2a41ed5f (diff)
downloadgdk-pixbuf-d9ede213fef638f863ba77dff55420ca69daf1cf.tar.gz
Disable deprecation warnings for GTimeVal
Common GdkPixbufAnimation implementations need to avoid warnings caused by the recent deprecation of GTimeVal in GLib 2.62.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-simple-anim.c')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-simple-anim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-simple-anim.c b/gdk-pixbuf/gdk-pixbuf-simple-anim.c
index 9f6ce4e2f..c932ebd8f 100644
--- a/gdk-pixbuf/gdk-pixbuf-simple-anim.c
+++ b/gdk-pixbuf/gdk-pixbuf-simple-anim.c
@@ -24,6 +24,7 @@
*/
#include "config.h"
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
#include <glib.h>
#define GDK_PIXBUF_C_COMPILATION