summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-bond.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-09-22 12:28:06 -0400
committerDan Winship <danw@gnome.org>2014-10-22 08:29:08 -0400
commitfd7b9df47d6598af91b76af64584039ddc5037dc (patch)
treeb258df16c89a1356400379db6b4caf909285c799 /src/devices/nm-device-bond.h
parent4f75ff92b4d5a52d453b77b050f38f8c3e421256 (diff)
downloadNetworkManager-fd7b9df47d6598af91b76af64584039ddc5037dc.tar.gz
devices: drop device-type-specific error domains
Most NMDevice types defined their own error domain but then never used it. A few did use their errors, but some of those errors are redundant with NMDeviceError, and others can be added to it.
Diffstat (limited to 'src/devices/nm-device-bond.h')
-rw-r--r--src/devices/nm-device-bond.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/devices/nm-device-bond.h b/src/devices/nm-device-bond.h
index ed1c023434..17217a57c4 100644
--- a/src/devices/nm-device-bond.h
+++ b/src/devices/nm-device-bond.h
@@ -34,12 +34,6 @@ G_BEGIN_DECLS
#define NM_IS_DEVICE_BOND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NM_TYPE_DEVICE_BOND))
#define NM_DEVICE_BOND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_DEVICE_BOND, NMDeviceBondClass))
-typedef enum {
- NM_BOND_ERROR_CONNECTION_NOT_BOND = 0, /*< nick=ConnectionNotBond >*/
- NM_BOND_ERROR_CONNECTION_INVALID, /*< nick=ConnectionInvalid >*/
- NM_BOND_ERROR_CONNECTION_INCOMPATIBLE, /*< nick=ConnectionIncompatible >*/
-} NMBondError;
-
#define NM_DEVICE_BOND_SLAVES "slaves"
typedef NMDevice NMDeviceBond;