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

Ali Abdallah noreply at xfce.org
Mon Feb 1 22:24:01 CET 2010


Updating branch refs/heads/aliov/hal-deprecation
         to ab13eefeb59af7abfdb52230b9a54061979f4579 (commit)
       from d78da9e366f9d17bad9d24a09d5badaecf1aa2a7 (commit)

commit ab13eefeb59af7abfdb52230b9a54061979f4579
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