[Goodies-commits] r5689 - xfce4-power-manager/trunk/src

Ali Abdallah aliov at xfce.org
Sat Oct 18 20:54:38 CEST 2008


Author: aliov
Date: 2008-10-18 18:54:38 +0000 (Sat, 18 Oct 2008)
New Revision: 5689

Modified:
   xfce4-power-manager/trunk/src/xfpm-driver.c
Log:
fix a bug handling suspend request

Modified: xfce4-power-manager/trunk/src/xfpm-driver.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-driver.c	2008-10-18 18:38:02 UTC (rev 5688)
+++ xfce4-power-manager/trunk/src/xfpm-driver.c	2008-10-18 18:54:38 UTC (rev 5689)
@@ -768,7 +768,7 @@
     g_free(content);
     
 #endif    
-    if ( priv->power_management != 0 )
+    if ( priv->power_management == 0 )
     {
         XFPM_DEBUG("We cannot use power management interface\n");
         return;




More information about the Goodies-commits mailing list