network: Remove net_object_get_panel
It was only being used for WiFi devices
This commit is contained in:
parent
76de0ce408
commit
0b3ce1e15d
12 changed files with 26 additions and 77 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue