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

@ -29,12 +29,7 @@
G_BEGIN_DECLS
#define NET_TYPE_DEVICE_SIMPLE (net_device_simple_get_type ())
G_DECLARE_DERIVABLE_TYPE (NetDeviceSimple, net_device_simple, NET, DEVICE_SIMPLE, NetDevice)
struct _NetDeviceSimpleClass
{
NetDeviceClass parent_class;
};
G_DECLARE_FINAL_TYPE (NetDeviceSimple, net_device_simple, NET, DEVICE_SIMPLE, NetDevice)
NetDeviceSimple *net_device_simple_new (CcPanel *panel,
GCancellable *cancellable,