diff options
author | Mikel Astiz <mikel.astiz@bmw-carit.de> | 2012-12-05 13:51:41 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-12-05 16:41:30 +0200 |
commit | 88b483b154cc14305417b47221a1681118ec0700 (patch) | |
tree | d70c0e178b04156d8db6e08abd69d6c1715cb305 /profiles/cups | |
parent | 07bf7e9098188e9328bcc8606b1812067884263c (diff) | |
download | bluez-88b483b154cc14305417b47221a1681118ec0700.tar.gz |
dbus: Rename to org.bluez.Device1
Trivially add the numbering suffix to org.bluez.Device according to
the proposal for BlueZ 5.
Diffstat (limited to 'profiles/cups')
-rw-r--r-- | profiles/cups/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/cups/main.c b/profiles/cups/main.c index 977c057ef..ae0cc6aef 100644 --- a/profiles/cups/main.c +++ b/profiles/cups/main.c @@ -133,7 +133,7 @@ static char *device_get_ieee1284_id(const char *adapter, const char *device) /* Look for the service handle of the HCRP service */ message = dbus_message_new_method_call("org.bluez", device, - "org.bluez.Device", + "org.bluez.Device1", "DiscoverServices"); dbus_message_iter_init_append(message, &iter); dbus_message_iter_append_basic(&iter, DBUS_TYPE_STRING, &hcr_print); @@ -309,7 +309,7 @@ static gboolean device_is_printer(const char *adapter, const char *device_path, gboolean retval; message = dbus_message_new_method_call("org.bluez", device_path, - "org.bluez.Device", + "org.bluez.Device1", "GetProperties"); reply = dbus_connection_send_with_reply_and_block(conn, |