From fd7b9df47d6598af91b76af64584039ddc5037dc Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 22 Sep 2014 12:28:06 -0400 Subject: 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. --- src/devices/nm-device-bond.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/devices/nm-device-bond.h') 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; -- cgit v1.2.1