[Xfce4-commits] <xfce4-power-manager:master> Fix another dpms compilation problem.

Nick Schermer noreply at xfce.org
Thu Apr 19 22:36:01 CEST 2012


Updating branch refs/heads/master
         to 2fc3c9d296280b4f630c8b593e261eea5afcb002 (commit)
       from 5927986e8280ab580935bd20bb9a61b51c926db4 (commit)

commit 2fc3c9d296280b4f630c8b593e261eea5afcb002
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Apr 19 22:33:43 2012 +0200

    Fix another dpms compilation problem.

 src/xfpm-power.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/xfpm-power.c b/src/xfpm-power.c
index 45ad928..bdff55c 100644
--- a/src/xfpm-power.c
+++ b/src/xfpm-power.c
@@ -439,6 +439,7 @@ xfpm_power_tray_exit_activated_cb (gpointer data)
 static void
 xfpm_power_change_mode (XfpmPower *power, XfpmPowerMode mode)
 {
+#ifdef HAVE_DPMS
     XfpmDpms *dpms;
     
     power->priv->power_mode = mode;
@@ -455,6 +456,7 @@ xfpm_power_change_mode (XfpmPower *power, XfpmPowerMode mode)
     
 	g_object_unref (idletime);
     }
+#endif
 }
 
 static void


More information about the Xfce4-commits mailing list