diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2015-06-18 13:48:22 +0200 |
---|---|---|
committer | Christoph Reiter <creiter@src.gnome.org> | 2015-06-19 10:17:10 +0200 |
commit | c5f21d512f899c9266cf43fbfd89c944976b79f0 (patch) | |
tree | ae68eff8228bda258c2015865add671b78ce6b66 /tests/scanner | |
parent | 09daa28c5b4625b6f274b3b340bc85e33bef80b5 (diff) | |
download | gobject-introspection-c5f21d512f899c9266cf43fbfd89c944976b79f0.tar.gz |
Add deprecation guards for GSimpleAsyncResult deprecation
https://bugzilla.gnome.org/show_bug.cgi?id=751150
Diffstat (limited to 'tests/scanner')
-rw-r--r-- | tests/scanner/regress.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c index 7669186b..4315fd01 100644 --- a/tests/scanner/regress.c +++ b/tests/scanner/regress.c @@ -3569,9 +3569,11 @@ regress_test_callback_thaw_async (void) void regress_test_async_ready_callback (GAsyncReadyCallback callback) { + G_GNUC_BEGIN_IGNORE_DEPRECATIONS GSimpleAsyncResult *result = g_simple_async_result_new (NULL, callback, NULL, regress_test_async_ready_callback); g_simple_async_result_complete_in_idle (result); + G_GNUC_END_IGNORE_DEPRECATIONS } /** |