[Xfce4-commits] [apps/xfce4-screensaver] 01/01: Fix expectation of replies from dbus

noreply at xfce.org noreply at xfce.org
Sun Jul 14 02:02:39 CEST 2019


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit d292c1bb427dd9fb76ba34542f3e20b56b559425
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat Jul 13 20:02:30 2019 -0400

    Fix expectation of replies from dbus
---
 src/xfce4-screensaver-command.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/xfce4-screensaver-command.c b/src/xfce4-screensaver-command.c
index 78efc6f..98daefb 100644
--- a/src/xfce4-screensaver-command.c
+++ b/src/xfce4-screensaver-command.c
@@ -184,7 +184,7 @@ do_command (GDBusConnection *conn) {
     }
 
     if (do_quit) {
-        reply = screensaver_send_message (conn, "Quit", NULL, FALSE);
+        screensaver_send_message (conn, "Quit", NULL, FALSE);
         goto done;
     }
 
@@ -249,11 +249,11 @@ do_command (GDBusConnection *conn) {
     }
 
     if (do_activate) {
-        reply = screensaver_send_message (conn, "SetActive", g_variant_new ("(b)", TRUE), FALSE);
+        screensaver_send_message (conn, "SetActive", g_variant_new ("(b)", TRUE), FALSE);
     }
 
     if (do_deactivate) {
-        reply = screensaver_send_message (conn, "SetActive", g_variant_new ("(b)", FALSE), TRUE);
+        screensaver_send_message (conn, "SetActive", g_variant_new ("(b)", FALSE), FALSE);
     }
 
     if (do_inhibit) {

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


More information about the Xfce4-commits mailing list