From cb29d64b012b3c9ab11a04dd7b4933a73475d0f6 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 2 Jul 2015 16:36:56 +0200 Subject: gnome-rr: Remove unused GNOME_RR_DPMS_DISABLED GNOME_RR_DPMS_DISABLED is one of the possible values of GnomeRRDpmsMode that's not currently used, and would trigger an assertion if passed to gnome_rr_screen_set_dpms_mode(). https://bugzilla.gnome.org/show_bug.cgi?id=751794 --- configure.ac | 2 +- libgnome-desktop/gnome-rr.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 7e543545..0450fa39 100644 --- a/configure.ac +++ b/configure.ac @@ -28,7 +28,7 @@ AC_CONFIG_MACRO_DIR([m4]) # change to C+1:0:0 # - If the interface is the same as the previous version, change to C:R+1:A -LT_VERSION=11:0:1 +LT_VERSION=12:0:0 AC_SUBST(LT_VERSION) LT_PREREQ([2.2.6]) diff --git a/libgnome-desktop/gnome-rr.h b/libgnome-desktop/gnome-rr.h index 94caf42c..3d4906b9 100644 --- a/libgnome-desktop/gnome-rr.h +++ b/libgnome-desktop/gnome-rr.h @@ -66,7 +66,6 @@ typedef enum { GNOME_RR_DPMS_STANDBY, GNOME_RR_DPMS_SUSPEND, GNOME_RR_DPMS_OFF, - GNOME_RR_DPMS_DISABLED, GNOME_RR_DPMS_UNKNOWN } GnomeRRDpmsMode; -- cgit v1.2.1