[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Fix dbus call for CK2 suspend (Bug #11610)
noreply at xfce.org
noreply at xfce.org
Sun Mar 1 07:30:56 CET 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.
commit ba081cefcb97c1903ce05d353cb0ee030e020195
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Sun Mar 1 09:19:13 2015 +0300
Fix dbus call for CK2 suspend (Bug #11610)
Looks like the parameter order got messed up when adding the
suspend/hibernate code for ConsoleKit2. This patch fixes it.
---
src/xfpm-console-kit.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/xfpm-console-kit.c b/src/xfpm-console-kit.c
index cc0e4da..c065306 100644
--- a/src/xfpm-console-kit.c
+++ b/src/xfpm-console-kit.c
@@ -307,9 +307,8 @@ xfpm_console_kit_suspend (XfpmConsoleKit *console,
g_return_if_fail (console->priv->proxy != NULL );
dbus_g_proxy_call (console->priv->proxy, "Suspend", error,
- G_TYPE_INVALID,
G_TYPE_BOOLEAN, TRUE,
- G_TYPE_INVALID);
+ G_TYPE_INVALID, G_TYPE_INVALID);
}
void
@@ -319,7 +318,6 @@ xfpm_console_kit_hibernate (XfpmConsoleKit *console,
g_return_if_fail (console->priv->proxy != NULL );
dbus_g_proxy_call (console->priv->proxy, "Hibernate", error,
- G_TYPE_INVALID,
G_TYPE_BOOLEAN, TRUE,
- G_TYPE_INVALID);
+ G_TYPE_INVALID, G_TYPE_INVALID);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list