diff options
Diffstat (limited to 'gobject/tests/private.c')
-rw-r--r-- | gobject/tests/private.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gobject/tests/private.c b/gobject/tests/private.c index ecf5e7b71..678222190 100644 --- a/gobject/tests/private.c +++ b/gobject/tests/private.c @@ -128,7 +128,9 @@ G_DEFINE_TYPE (TestMixed, test_mixed, test_object_get_type ()) static void test_mixed_class_init (TestMixedClass *klass) { +G_GNUC_BEGIN_IGNORE_DEPRECATIONS g_type_class_add_private (klass, sizeof (TestMixedPrivate)); +G_GNUC_END_IGNORE_DEPRECATIONS } static void |