[Xfce4-commits] <xfce4-session:master> Use correct power manager interface name.
Nick Schermer
noreply at xfce.org
Sat Mar 24 22:50:07 CET 2012
Updating branch refs/heads/master
to 914ced84b10aeb205b6dadc42f2a61f7e4b18252 (commit)
from 85fc32ce57db0998ded169bb6d5cadcd564b795c (commit)
commit 914ced84b10aeb205b6dadc42f2a61f7e4b18252
Author: Nick Schermer <nick at xfce.org>
Date: Sat Dec 3 21:36:48 2011 +0100
Use correct power manager interface name.
xfce4-session/xfsm-shutdown.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/xfce4-session/xfsm-shutdown.c b/xfce4-session/xfsm-shutdown.c
index a29afff..4821cf4 100644
--- a/xfce4-session/xfsm-shutdown.c
+++ b/xfce4-session/xfsm-shutdown.c
@@ -88,7 +88,7 @@ struct _XfsmShutdown
XfsmConsolekit *consolekit;
- /* kiosk settingw */
+ /* kiosk settings */
gboolean kiosk_can_shutdown;
gboolean kiosk_can_save_session;
@@ -540,9 +540,11 @@ xfsm_shutdown_query_xfpm (XfsmShutdown *shutdown,
if (conn == NULL)
return FALSE;
- proxy = dbus_g_proxy_new_for_name_owner (conn, "org.xfce.Power.Manager",
+ proxy = dbus_g_proxy_new_for_name_owner (conn,
+ "org.xfce.PowerManager",
"/org/xfce/PowerManager",
- "org.xfce.Power.Manager", error);
+ "org.xfce.PowerManager",
+ error);
if (proxy != NULL)
{
result = dbus_g_proxy_call (proxy, method, error,
More information about the Xfce4-commits
mailing list