diff --git a/src/ppd-driver.c b/src/ppd-driver.c index 91eb985..63a0cf9 100644 --- a/src/ppd-driver.c +++ b/src/ppd-driver.c @@ -324,8 +324,6 @@ const char * ppd_profile_activation_reason_to_str (PpdProfileActivationReason reason) { switch (reason) { - case PPD_PROFILE_ACTIVATION_REASON_INHIBITION: - return "inhibition"; case PPD_PROFILE_ACTIVATION_REASON_INTERNAL: return "internal"; case PPD_PROFILE_ACTIVATION_REASON_RESET: diff --git a/src/ppd-driver.h b/src/ppd-driver.h index a694dc2..fc1375f 100644 --- a/src/ppd-driver.h +++ b/src/ppd-driver.h @@ -35,8 +35,6 @@ typedef enum { /** * PpdProfileActivationReason: - * @PPD_PROFILE_ACTIVATION_REASON_INHIBITION: switching profiles because - * of performance profile inhibition. * @PPD_PROFILE_ACTIVATION_REASON_INTERNAL: the driver profile changed * internally, usually because of a key combination. * @PPD_PROFILE_ACTIVATION_REASON_RESET: setting profile on startup, or @@ -49,8 +47,7 @@ typedef enum { * profile internally. */ typedef enum{ - PPD_PROFILE_ACTIVATION_REASON_INHIBITION = 0, - PPD_PROFILE_ACTIVATION_REASON_INTERNAL, + PPD_PROFILE_ACTIVATION_REASON_INTERNAL = 0, PPD_PROFILE_ACTIVATION_REASON_RESET, PPD_PROFILE_ACTIVATION_REASON_USER } PpdProfileActivationReason;