[Xfce4-commits] [apps/xfce4-screensaver] 02/02: Do not expect reply for Lock, Cycle, and SimulateUserActivity
noreply at xfce.org
noreply at xfce.org
Fri Jun 7 04:46:13 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 a630fcd0e96c7d97fa279744b005f089b15db3e7
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Thu Jun 6 22:46:03 2019 -0400
Do not expect reply for Lock, Cycle, and SimulateUserActivity
---
src/xfce4-screensaver-command.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/xfce4-screensaver-command.c b/src/xfce4-screensaver-command.c
index 1557104..f9ad970 100644
--- a/src/xfce4-screensaver-command.c
+++ b/src/xfce4-screensaver-command.c
@@ -384,18 +384,15 @@ do_command (DBusConnection *connection) {
}
if (do_lock) {
- reply = screensaver_send_message_void (connection, "Lock", FALSE);
- dbus_message_unref (reply);
+ screensaver_send_message_void (connection, "Lock", FALSE);
}
if (do_cycle) {
- reply = screensaver_send_message_void (connection, "Cycle", FALSE);
- dbus_message_unref (reply);
+ screensaver_send_message_void (connection, "Cycle", FALSE);
}
if (do_poke) {
- reply = screensaver_send_message_void (connection, "SimulateUserActivity", FALSE);
- dbus_message_unref (reply);
+ screensaver_send_message_void (connection, "SimulateUserActivity", FALSE);
}
if (do_activate) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list