[gupnp] Add deprecation guards



commit 3858e8a80412004f4a31759117c35f6aaa199fa6
Author: Jens Georg <mail jensge org>
Date:   Sat Nov 30 16:04:00 2013 +0100

    Add deprecation guards

 libgupnp/gupnp-service-proxy.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libgupnp/gupnp-service-proxy.h b/libgupnp/gupnp-service-proxy.h
index 1cdebe6..6444c3f 100644
--- a/libgupnp/gupnp-service-proxy.h
+++ b/libgupnp/gupnp-service-proxy.h
@@ -130,6 +130,7 @@ gupnp_service_proxy_send_action_valist
                                     GError                        **error,
                                     va_list                         var_args);
 
+#ifndef GUPNP_DISABLE_DEPRECATED
 gboolean
 gupnp_service_proxy_send_action_hash
                                    (GUPnPServiceProxy              *proxy,
@@ -137,6 +138,7 @@ gupnp_service_proxy_send_action_hash
                                     GError                        **error,
                                     GHashTable                     *in_hash,
                                     GHashTable                     *out_hash) G_GNUC_DEPRECATED;
+#endif
 
 
 gboolean
@@ -174,6 +176,7 @@ gupnp_service_proxy_begin_action_list
                                     GUPnPServiceProxyActionCallback callback,
                                     gpointer                        user_data);
 
+#ifndef GUPNP_DISABLE_DEPRECATED
 GUPnPServiceProxyAction *
 gupnp_service_proxy_begin_action_hash
                                    (GUPnPServiceProxy              *proxy,
@@ -181,6 +184,7 @@ gupnp_service_proxy_begin_action_hash
                                     GUPnPServiceProxyActionCallback callback,
                                     gpointer                        user_data,
                                     GHashTable                     *hash) G_GNUC_DEPRECATED;
+#endif
 
 gboolean
 gupnp_service_proxy_end_action     (GUPnPServiceProxy              *proxy,


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