[Xfce4-commits] <xfce4-session:master> Fix a typo that was causing HAL sleep requests to fails

Jérôme Guelfucci noreply at xfce.org
Sat Feb 27 00:36:06 CET 2010


Updating branch refs/heads/master
         to b9ccca28898a0cb400338e50b6eac5b1a72ad51c (commit)
       from d7d73e7b8408b5a0f5a12e43d159e261f99b0ac5 (commit)

commit b9ccca28898a0cb400338e50b6eac5b1a72ad51c
Author: Ali Abdallah <aliov at xfce.org>
Date:   Mon Feb 1 22:21:22 2010 +0100

    Fix a typo that was causing HAL sleep requests to fails

 xfce4-session/xfsm-shutdown-helper.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xfce4-session/xfsm-shutdown-helper.c b/xfce4-session/xfsm-shutdown-helper.c
index 38fd217..34aeba0 100644
--- a/xfce4-session/xfsm-shutdown-helper.c
+++ b/xfce4-session/xfsm-shutdown-helper.c
@@ -1809,7 +1809,7 @@ gboolean xfsm_shutdown_helper_suspend (XfsmShutdownHelper *helper, GError **erro
 #endif
 
 #ifdef ENABLE_HAL
-  if ( helper->shutdown_backend == XFSM_SHUTDOWN_BACKEND_HAL )
+  if ( helper->sleep_backend == XFSM_SHUTDOWN_BACKEND_HAL )
     {
       return xfsm_shutdown_helper_hal_send (helper, "Suspend", error);
     }
@@ -1836,7 +1836,7 @@ gboolean xfsm_shutdown_helper_hibernate (XfsmShutdownHelper *helper, GError **er
 #endif
 
 #ifdef ENABLE_HAL
-  if ( helper->shutdown_backend == XFSM_SHUTDOWN_BACKEND_HAL )
+  if ( helper->sleep_backend == XFSM_SHUTDOWN_BACKEND_HAL )
     {
       return xfsm_shutdown_helper_hal_send (helper, "Hibernate", error);
     }



More information about the Xfce4-commits mailing list