summaryrefslogtreecommitdiff
path: root/libgupnp
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2013-12-13 14:20:37 +0200
committerJens Georg <mail@jensge.org>2013-12-14 15:58:35 +0100
commit135a7de2a9c24d287a2447c16201a931e0c1206f (patch)
tree520af62feb55bfb580abd88f5051302c77f1cace /libgupnp
parent485d15def8ba22cc3d3a0f81d9570e08349245cf (diff)
downloadgupnp-135a7de2a9c24d287a2447c16201a931e0c1206f.tar.gz
Ignore deprecation warning when in a deprecated function
https://bugzilla.gnome.org/show_bug.cgi?id=720369
Diffstat (limited to 'libgupnp')
-rw-r--r--libgupnp/gupnp-service-proxy.c2
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);