[Xfce4-commits] <xfce4-session:master> Fix a typo in hal sleeps enums...
Ali Abdallah
noreply at xfce.org
Sat May 8 17:00:01 CEST 2010
Updating branch refs/heads/master
to f5ad4be540697590c2a298b5eabbe1671bf86333 (commit)
from f5cb0d88cc507af669b4f1788a75139a9b422ded (commit)
commit f5ad4be540697590c2a298b5eabbe1671bf86333
Author: Ali Abdallah <aliov at xfce.org>
Date: Sat May 8 18:59:02 2010 +0200
Fix a typo in hal sleeps enums...
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 949223d..ed687a0 100644
--- a/xfce4-session/xfsm-shutdown-helper.c
+++ b/xfce4-session/xfsm-shutdown-helper.c
@@ -1858,7 +1858,7 @@ gboolean xfsm_shutdown_helper_suspend (XfsmShutdownHelper *helper, GError **erro
#endif
#ifdef ENABLE_HAL
- if ( helper->sleep_backend == XFSM_SHUTDOWN_BACKEND_HAL )
+ if ( helper->sleep_backend == XFSM_SLEEP_BACKEND_HAL )
{
return xfsm_shutdown_helper_hal_send (helper, "Suspend", error);
}
@@ -1885,7 +1885,7 @@ gboolean xfsm_shutdown_helper_hibernate (XfsmShutdownHelper *helper, GError **er
#endif
#ifdef ENABLE_HAL
- if ( helper->sleep_backend == XFSM_SHUTDOWN_BACKEND_HAL )
+ if ( helper->sleep_backend == XFSM_SLEEP_BACKEND_HAL )
{
return xfsm_shutdown_helper_hal_send (helper, "Hibernate", error);
}
More information about the Xfce4-commits
mailing list