summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/dbus.c
diff options
context:
space:
mode:
authorracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-26 13:07:47 +0000
committerracarr <racarr@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-26 13:07:47 +0000
commite9f583b5f423e6e5198588a9e8d8ee3e079d7285 (patch)
tree4efa639b3e2af29fb35861189992e60d24c50c1a /beryl-plugins/src/dbus.c
parentb7f62a852173a7834ae9cc02259f34431b2d5085 (diff)
downloadmarex-dev-e9f583b5f423e6e5198588a9e8d8ee3e079d7285.tar.gz
marex-dev-e9f583b5f423e6e5198588a9e8d8ee3e079d7285.tar.bz2
More upstream messages
git-svn-id: file:///beryl/trunk@3174 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/dbus.c')
-rw-r--r--beryl-plugins/src/dbus.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/beryl-plugins/src/dbus.c b/beryl-plugins/src/dbus.c
index 97efd66..d8b5e7d 100644
--- a/beryl-plugins/src/dbus.c
+++ b/beryl-plugins/src/dbus.c
@@ -306,6 +306,18 @@ dbusHandleActionMessage(DBusConnection * connection,
if (argument)
free(argument);
+
+ if (!dbus_message_get_no_reply(message))
+ {
+ DBusMessage * reply;
+
+ reply = dbus_message_new_method_return (message);
+
+ dbus_connection_send(connection,reply,NULL);
+ dbus_connection_flush(connection);
+
+ dbus_message_unref(reply);
+ }
return TRUE;
}