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

@ -37,7 +37,7 @@
struct _NetDeviceEthernet
{
NetDeviceSimple parent;
NetDevice parent;
GtkBuilder *builder;
GtkButton *add_profile_button;
@ -55,7 +55,7 @@ struct _NetDeviceEthernet
GHashTable *connections;
};
G_DEFINE_TYPE (NetDeviceEthernet, net_device_ethernet, NET_TYPE_DEVICE_SIMPLE)
G_DEFINE_TYPE (NetDeviceEthernet, net_device_ethernet, NET_TYPE_DEVICE)
static GtkWidget *
device_ethernet_add_to_stack (NetObject *object,