>From 3465c4c2c0be02347cc3e659bb6247ffff880c63 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 20 Nov 2012 16:51:20 +0000 Subject: [PATCH] Correctly call DeleteDevice when using colord on linux --- scheduler/colorman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scheduler/colorman.c b/scheduler/colorman.c index ddb7a6f..bd43dab 100644 --- a/scheduler/colorman.c +++ b/scheduler/colorman.c @@ -1128,7 +1128,7 @@ colord_delete_device( message = COLORD_DBUS_MSG(COLORD_DBUS_PATH, "DeleteDevice"); dbus_message_iter_init_append(message, &args); - dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, &device_id); + dbus_message_iter_append_basic(&args, DBUS_TYPE_OBJECT_PATH, &device_path); /* * Send the DeleteDevice request synchronously... -- 1.8.0