[gobject-introspection] Add deprecation guards for GSimpleAsyncResult deprecation



commit c5f21d512f899c9266cf43fbfd89c944976b79f0
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Thu Jun 18 13:48:22 2015 +0200

    Add deprecation guards for GSimpleAsyncResult deprecation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=751150

 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 7669186..4315fd0 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
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]