|
|
87cf9a |
diff -up cups-1.6.3/scheduler/colorman.c.colord-interface cups-1.6.3/scheduler/colorman.c
|
|
|
87cf9a |
--- cups-1.6.3/scheduler/colorman.c.colord-interface 2013-06-07 02:12:52.000000000 +0100
|
|
|
87cf9a |
+++ cups-1.6.3/scheduler/colorman.c 2014-09-02 10:47:19.457169176 +0100
|
|
|
87cf9a |
@@ -107,6 +107,10 @@ extern CFUUIDRef ColorSyncCreateUUIDFrom
|
|
|
87cf9a |
"org.freedesktop.ColorManager", (p),\
|
|
|
87cf9a |
"org.freedesktop.ColorManager", (m))
|
|
|
87cf9a |
/* Macro to make new colord messages */
|
|
|
87cf9a |
+# define COLORD_DEVICE_DBUS_MSG(p,m) dbus_message_new_method_call( \
|
|
|
87cf9a |
+ "org.freedesktop.ColorManager", (p),\
|
|
|
87cf9a |
+ "org.freedesktop.ColorManager.Device", (m))
|
|
|
87cf9a |
+ /* Macro to make new colord messages */
|
|
|
87cf9a |
# define COLORD_DBUS_PATH "/org/freedesktop/ColorManager"
|
|
|
87cf9a |
/* Path for color management system */
|
|
|
87cf9a |
# define COLORD_DBUS_TIMEOUT 5000 /* Timeout for connecting to colord in ms */
|
|
|
87cf9a |
@@ -1196,7 +1200,7 @@ colord_device_add_profile(
|
|
|
87cf9a |
DBusError error; /* D-Bus error */
|
|
|
87cf9a |
|
|
|
87cf9a |
|
|
|
87cf9a |
- message = COLORD_DBUS_MSG(device_path, "AddProfile");
|
|
|
87cf9a |
+ message = COLORD_DEVICE_DBUS_MSG(device_path, "AddProfile");
|
|
|
87cf9a |
|
|
|
87cf9a |
dbus_message_iter_init_append(message, &args);
|
|
|
87cf9a |
dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, &relation);
|