[gdk-pixbuf/deprecated-timeval: 7/7] tests: Disable deprecation warnings for GTimeVal
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf/deprecated-timeval: 7/7] tests: Disable deprecation warnings for GTimeVal
- Date: Mon, 29 Jul 2019 17:46:25 +0000 (UTC)
commit 35203978ba650e624f3e06f4436eaf6d8f04da1f
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Jul 29 18:45:12 2019 +0100
tests: Disable deprecation warnings for GTimeVal
tests/pixbuf-area-updated.c | 1 +
tests/pixbuf-gif.c | 1 +
2 files changed, 2 insertions(+)
---
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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]