[gupnp] linux-cm: Style fixes



commit 98228cc870f9d1298445237b1620ac4d00ab1033
Author: Jens Georg <mail jensge org>
Date:   Tue Dec 15 23:49:01 2015 +0100

    linux-cm: Style fixes
    
    Signed-off-by: Jens Georg <mail jensge org>

 libgupnp/gupnp-linux-context-manager.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/libgupnp/gupnp-linux-context-manager.c b/libgupnp/gupnp-linux-context-manager.c
index 5a1d340..09a2fcf 100644
--- a/libgupnp/gupnp-linux-context-manager.c
+++ b/libgupnp/gupnp-linux-context-manager.c
@@ -263,11 +263,10 @@ network_device_create_context (NetworkInterface *device,
                 return;
         }
 
-        g_object_get (device->manager,
-                      "port", &port,
-                      NULL);
+        g_object_get (device->manager, "port", &port, NULL);
 
         network_device_update_essid (device);
+
         context = g_initable_new (GUPNP_TYPE_CONTEXT,
                                   NULL,
                                   &error,
@@ -953,8 +952,7 @@ gupnp_linux_context_manager_constructed (GObject *object)
         if (!create_netlink_socket (self, &error))
                 goto cleanup;
 
-        self->priv->bootstrap_source =
-                                g_idle_source_new ();
+        self->priv->bootstrap_source = g_idle_source_new ();
         g_source_attach (self->priv->bootstrap_source,
                          g_main_context_get_thread_default ());
         g_source_set_callback (self->priv->bootstrap_source,


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