summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-05-13 11:47:12 -0400
committerDan Winship <danw@gnome.org>2013-05-13 12:10:53 -0400
commite195490a879e6fcdd5b861629fadd6b7e652237b (patch)
tree3831475c6ee63850a9e3a9baa9652be36d3d15e4
parenteebb3c1c8e09d122f049edb762c9a13199f3b1e9 (diff)
downloadglib-e195490a879e6fcdd5b861629fadd6b7e652237b.tar.gz
tests/slice: use G_GNUC_BEGIN_IGNORE_DEPRECATIONS
rather than implementing it by hand
-rw-r--r--glib/tests/slice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/tests/slice.c b/glib/tests/slice.c
index cb1c52787..c2226cd56 100644
--- a/glib/tests/slice.c
+++ b/glib/tests/slice.c
@@ -1,7 +1,7 @@
#include <glib.h>
/* We test deprecated functionality here */
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
static void
test_slice_config_subprocess (void)