tests/slice: use G_GNUC_BEGIN_IGNORE_DEPRECATIONS

rather than implementing it by hand
This commit is contained in:
Dan Winship 2013-05-13 11:47:12 -04:00
parent eebb3c1c8e
commit e195490a87

View File

@ -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)