summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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>