[gnome-control-center] network: Call method directly instead of via virtual method



commit 1a0b9b628ac0715678729b59289c1d5c39210e70
Author: Robert Ancell <robert ancell canonical com>
Date:   Thu Oct 24 11:54:45 2019 +1300

    network: Call method directly instead of via virtual method

 panels/network/net-device-bluetooth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/network/net-device-bluetooth.c b/panels/network/net-device-bluetooth.c
index 432b92c13..dd5b99ff6 100644
--- a/panels/network/net-device-bluetooth.c
+++ b/panels/network/net-device-bluetooth.c
@@ -228,7 +228,7 @@ net_device_bluetooth_new (NMClient *client, NMDevice *device)
                              NULL);
         self->client = g_object_ref (client);
 
-        net_object_refresh (NET_OBJECT (self));
+        nm_device_bluetooth_refresh_ui (self);
 
         return self;
 }


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