network: Stop NetDeviceEthernet deriving from NetDeviceSimple

It overrode everything anyway.
This commit is contained in:
Robert Ancell 2019-10-23 11:02:55 +13:00
parent 9327a5f4d1
commit e90ed2df8a
5 changed files with 31 additions and 44 deletions

View file

@ -23,12 +23,12 @@
#include <glib-object.h>
#include "net-device-simple.h"
#include "net-device.h"
G_BEGIN_DECLS
#define NET_TYPE_DEVICE_ETHERNET (net_device_ethernet_get_type ())
G_DECLARE_FINAL_TYPE (NetDeviceEthernet, net_device_ethernet, NET, DEVICE_ETHERNET, NetDeviceSimple)
G_DECLARE_FINAL_TYPE (NetDeviceEthernet, net_device_ethernet, NET, DEVICE_ETHERNET, NetDevice)
NetDeviceEthernet *net_device_ethernet_new (CcPanel *panel,
GCancellable *cancellable,