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