summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-14 19:51:25 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-12-14 19:51:25 +0100
commit89301e4b7e1dfc86809f21a8f7d4295af078951b (patch)
tree7a1535e7a19632950c4badbe1184701274bb13d8
parentf32cddbf94ba0d0cfaa4180e1e7d350c058b2bd0 (diff)
client: Print any received signal
-rw-r--r--client/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/main.c b/client/main.c
index a4b674a9f..7b97b35cd 100644
--- a/client/main.c
+++ b/client/main.c
@@ -181,6 +181,10 @@ static void property_changed(GDBusProxy *proxy, const char *name,
static void message_handler(DBusConnection *connection,
DBusMessage *message, void *user_data)
{
+ begin_message();
+ printf("[SIGNAL] %s.%s\n", dbus_message_get_interface(message),
+ dbus_message_get_member(message));
+ end_message();
}
static GDBusProxy *find_proxy_by_address(const char *address)