[gupnp] Ignore deprecation warning when in a deprecated function



commit 135a7de2a9c24d287a2447c16201a931e0c1206f
Author: Jussi Kukkonen <jussi kukkonen intel com>
Date:   Fri Dec 13 14:20:37 2013 +0200

    Ignore deprecation warning when in a deprecated function
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720369

 libgupnp/gupnp-service-proxy.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c
index 824896c..3272723 100644
--- a/libgupnp/gupnp-service-proxy.c
+++ b/libgupnp/gupnp-service-proxy.c
@@ -655,11 +655,13 @@ gupnp_service_proxy_send_action_hash (GUPnPServiceProxy *proxy,
         main_loop = g_main_loop_new (g_main_context_get_thread_default (),
                                      TRUE);
 
+        G_GNUC_BEGIN_IGNORE_DEPRECATIONS
         handle = gupnp_service_proxy_begin_action_hash (proxy,
                                                         action,
                                                         stop_main_loop,
                                                         main_loop,
                                                         in_hash);
+        G_GNUC_END_IGNORE_DEPRECATIONS
         if (!handle) {
                 g_main_loop_unref (main_loop);
 


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