[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Fix CK suspend/hibernate calls

noreply at xfce.org noreply at xfce.org
Wed Mar 25 10:28:49 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 a055fa2e42204b484b6000afe1e519321948c455
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Wed Mar 25 12:17:38 2015 +0300

    Fix CK suspend/hibernate calls
---
 src/xfpm-console-kit.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xfpm-console-kit.c b/src/xfpm-console-kit.c
index b5af119..dc82dc4 100644
--- a/src/xfpm-console-kit.c
+++ b/src/xfpm-console-kit.c
@@ -343,7 +343,7 @@ xfpm_console_kit_suspend (XfpmConsoleKit *console,
     g_return_if_fail (console->priv->proxy != NULL );
 
     var = g_dbus_proxy_call_sync (console->priv->proxy, "Suspend",
-                                  NULL,
+                                  g_variant_new ("(b)", TRUE),
                                   G_DBUS_CALL_FLAGS_NONE,
                                   -1, NULL,
                                   error);
@@ -360,7 +360,7 @@ xfpm_console_kit_hibernate (XfpmConsoleKit *console,
     g_return_if_fail (console->priv->proxy != NULL );
 
     var = g_dbus_proxy_call_sync (console->priv->proxy, "Hibernate",
-                                  NULL,
+                                  g_variant_new ("(b)", TRUE),
                                   G_DBUS_CALL_FLAGS_NONE,
                                   -1, NULL,
                                   error);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list