network: Remove net_object_get_panel

It was only being used for WiFi devices
This commit is contained in:
Robert Ancell 2019-10-23 12:08:54 +13:00
parent 76de0ce408
commit 0b3ce1e15d
12 changed files with 26 additions and 77 deletions

View file

@ -592,14 +592,12 @@ net_device_ethernet_init (NetDeviceEthernet *self)
}
NetDeviceEthernet *
net_device_ethernet_new (CcPanel *panel,
GCancellable *cancellable,
net_device_ethernet_new (GCancellable *cancellable,
NMClient *client,
NMDevice *device,
const gchar *id)
{
return g_object_new (NET_TYPE_DEVICE_ETHERNET,
"panel", panel,
"cancellable", cancellable,
"client", client,
"nm-device", device,