From e195490a879e6fcdd5b861629fadd6b7e652237b Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 13 May 2013 11:47:12 -0400 Subject: [PATCH] tests/slice: use G_GNUC_BEGIN_IGNORE_DEPRECATIONS rather than implementing it by hand --- glib/tests/slice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 /* We test deprecated functionality here */ -#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +G_GNUC_BEGIN_IGNORE_DEPRECATIONS static void test_slice_config_subprocess (void)