diff options
Diffstat (limited to 'rcm-client-main.c')
-rw-r--r-- | rcm-client-main.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/rcm-client-main.c b/rcm-client-main.c index 17979dd..f7a70c6 100644 --- a/rcm-client-main.c +++ b/rcm-client-main.c @@ -37,12 +37,9 @@ poke_objects() } RCDevice *object = RCDEVICE(interface); - gchar *reply = NULL; - rcdevice_call_echo_string_sync(object, "Roeven", &reply, NULL, NULL); - printf("Called object %s: %s\n", g_dbus_object_get_object_path (G_DBUS_OBJECT(l->data)), reply); - printf("Driver name is: %s\n", rcdevice_get_driver_name(object)); - printf("Keymap name is: %s\n", rcdevice_get_kernel_keymap_name(object)); - g_free(reply); + printf("DBus object %s\n", g_dbus_object_get_object_path(G_DBUS_OBJECT(l->data))); + printf("\tDriver name is: %s\n", rcdevice_get_driver_name(object)); + printf("\tKeymap name is: %s\n", rcdevice_get_kernel_keymap_name(object)); g_object_unref(interface); } |