[gnome-control-center] network: Remove unused net_device_new function



commit 6c473c2e148fb830add0f40b76ee1bfeb3ba6b96
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed Oct 23 09:50:55 2019 +1300

    network: Remove unused net_device_new function

 panels/network/net-device.c | 7 -------
 panels/network/net-device.h | 1 -
 2 files changed, 8 deletions(-)
---
diff --git a/panels/network/net-device.c b/panels/network/net-device.c
index 213f91d55..60d937a99 100644
--- a/panels/network/net-device.c
+++ b/panels/network/net-device.c
@@ -264,13 +264,6 @@ net_device_init (NetDevice *self)
 {
 }
 
-NetDevice *
-net_device_new (void)
-{
-        return g_object_new (NET_TYPE_DEVICE,
-                             NULL);
-}
-
 GSList *
 net_device_get_valid_connections (NetDevice *self)
 {
diff --git a/panels/network/net-device.h b/panels/network/net-device.h
index 3b7652cf8..f3f1b8bbe 100644
--- a/panels/network/net-device.h
+++ b/panels/network/net-device.h
@@ -37,7 +37,6 @@ struct _NetDeviceClass
         NetObjectClass               parent_class;
 };
 
-NetDevice       *net_device_new                         (void);
 NMDevice        *net_device_get_nm_device               (NetDevice      *device);
 NMConnection    *net_device_get_find_connection         (NetDevice      *device);
 


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