[gupnp] context-manager: Pass on the new properties



commit 35a8d6942e1a6eb6b6aa052580cc383c9bad435d
Author: Jens Georg <mail jensge org>
Date:   Sun Jan 13 18:40:00 2019 +0100

    context-manager: Pass on the new properties
    
    Previously forgotton to pass the address family to the g_object_new
    function, and add the new UDA version property

 libgupnp/gupnp-context-manager.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/libgupnp/gupnp-context-manager.c b/libgupnp/gupnp-context-manager.c
index c68f4b2..2e6ba93 100644
--- a/libgupnp/gupnp-context-manager.c
+++ b/libgupnp/gupnp-context-manager.c
@@ -620,6 +620,8 @@ gupnp_context_manager_create_full (GSSDPUDAVersion uda_version, GSocketFamily fa
         g_debug ("Using context manager implementation %s",
                  g_type_name (impl_type));
         impl = GUPNP_CONTEXT_MANAGER (g_object_new (impl_type,
+                                                    "address-family", family,
+                                                    "uda-version", uda_version,
                                                     "port", port,
                                                     NULL));
 


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