summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-07-29 18:45:12 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2019-07-29 18:45:12 +0100
commit35203978ba650e624f3e06f4436eaf6d8f04da1f (patch)
tree79a6eb1bd2e7bfaa9f1ef78458f42b8042620a7c /tests
parentefe1711fa7c1ce3cd2eb33a7de9138c0c8b4b865 (diff)
downloadgdk-pixbuf-35203978ba650e624f3e06f4436eaf6d8f04da1f.tar.gz
tests: Disable deprecation warnings for GTimeVal
Diffstat (limited to 'tests')
-rw-r--r--tests/pixbuf-area-updated.c1
-rw-r--r--tests/pixbuf-gif.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/pixbuf-area-updated.c b/tests/pixbuf-area-updated.c
index 065fe7cb9..28f56c47f 100644
--- a/tests/pixbuf-area-updated.c
+++ b/tests/pixbuf-area-updated.c
@@ -20,6 +20,7 @@
* Bastien Nocera
*/
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
#include <stdio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
diff --git a/tests/pixbuf-gif.c b/tests/pixbuf-gif.c
index 53b58d587..f15c24821 100644
--- a/tests/pixbuf-gif.c
+++ b/tests/pixbuf-gif.c
@@ -17,6 +17,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
#include "gdk-pixbuf/gdk-pixbuf.h"
#include "test-common.h"
#include <string.h>