From 89301e4b7e1dfc86809f21a8f7d4295af078951b Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 14 Dec 2012 19:51:25 +0100 Subject: client: Print any received signal --- client/main.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit v1.2.3