diff options
author | Jens Georg <mail@jensge.org> | 2020-07-23 22:08:41 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2020-07-23 22:08:41 +0200 |
commit | 2cc8f2a064b9453dc7f0e6223b367c7a8ad57aa3 (patch) | |
tree | b7898202e2b3aba273cfa51a3af7082fd20bec33 | |
parent | c7517cdabd8b04c05804d300fd726ff29c90f2ee (diff) | |
download | gupnp-2cc8f2a064b9453dc7f0e6223b367c7a8ad57aa3.tar.gz |
serivce-proxy: Add auto-cleanup for Action
-rw-r--r-- | libgupnp/gupnp-service-proxy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgupnp/gupnp-service-proxy.h b/libgupnp/gupnp-service-proxy.h index bf2f96c..f5cbb0d 100644 --- a/libgupnp/gupnp-service-proxy.h +++ b/libgupnp/gupnp-service-proxy.h @@ -226,6 +226,9 @@ gupnp_service_proxy_action_ref (GUPnPServiceProxyAction *action); void gupnp_service_proxy_action_unref (GUPnPServiceProxyAction *action); +G_DEFINE_AUTOPTR_CLEANUP_FUNC (GUPnPServiceProxyAction, + gupnp_service_proxy_action_unref) + gboolean gupnp_service_proxy_action_get_result (GUPnPServiceProxyAction *action, GError **error, |