diff options
author | Dan Winship <danw@gnome.org> | 2013-05-07 10:23:44 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-05-20 16:38:33 -0300 |
commit | 82222d38986aaaf5534146d966a2ffdd2b514b32 (patch) | |
tree | f8d634ea8ef48c15ca5ae438589e297138dc11c2 /src/devices/nm-device-bridge.c | |
parent | 5a223b908954a67aef0c77ca29a251560eaace60 (diff) | |
download | NetworkManager-82222d38986aaaf5534146d966a2ffdd2b514b32.tar.gz |
core: move carrier handling to NMDevice
Move carrier handling for most device types into NMDevice.
Based on an earlier patch by Pavel Šimerda.
Diffstat (limited to 'src/devices/nm-device-bridge.c')
-rw-r--r-- | src/devices/nm-device-bridge.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/devices/nm-device-bridge.c b/src/devices/nm-device-bridge.c index cfa98c6ed8..a8f16c523e 100644 --- a/src/devices/nm-device-bridge.c +++ b/src/devices/nm-device-bridge.c @@ -51,7 +51,6 @@ typedef struct { enum { PROP_0, - PROP_CARRIER, PROP_SLAVES, LAST_PROP @@ -353,8 +352,6 @@ get_property (GObject *object, guint prop_id, GSList *list, *iter; switch (prop_id) { - case PROP_CARRIER: - g_value_set_boolean (value, nm_device_wired_get_carrier (NM_DEVICE_WIRED (object))); break; case PROP_SLAVES: slaves = g_ptr_array_new (); @@ -407,14 +404,6 @@ nm_device_bridge_class_init (NMDeviceBridgeClass *klass) /* properties */ g_object_class_install_property - (object_class, PROP_CARRIER, - g_param_spec_boolean (NM_DEVICE_BRIDGE_CARRIER, - "Carrier", - "Carrier", - FALSE, - G_PARAM_READABLE)); - - g_object_class_install_property (object_class, PROP_SLAVES, g_param_spec_boxed (NM_DEVICE_BRIDGE_SLAVES, "Slaves", |