[gupnp] network-manager: Remove obsolete cast



commit 97e8791e7ef316f78bd16c395858ce120621de62
Author: Jens Georg <mail jensge org>
Date:   Sat Dec 8 20:13:17 2018 +0100

    network-manager: Remove obsolete cast

 libgupnp/gupnp-network-manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgupnp/gupnp-network-manager.c b/libgupnp/gupnp-network-manager.c
index 4ed976f..2c192fa 100644
--- a/libgupnp/gupnp-network-manager.c
+++ b/libgupnp/gupnp-network-manager.c
@@ -501,7 +501,7 @@ device_proxy_new_cb (GObject      *source_object,
                 use_new_device (manager, nm_device);
 
 done:
-        g_clear_pointer (&nm_device, (GDestroyNotify) nm_device_unref);
+        g_clear_pointer (&nm_device, nm_device_unref);
         g_clear_object (&device_proxy);
 }
 


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