diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-12-21 15:56:12 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-12-21 17:06:10 +0200 |
commit | 432dffc3d2ac79f4d99de4ab9bcc42f385ea4b5a (patch) | |
tree | 817670e78fac3906cddcfd8d5d6c8471288c74ea /obexd/client/transfer.c | |
parent | 276fb90754aafc356b409fe70252271eb96195b2 (diff) | |
download | bluez-432dffc3d2ac79f4d99de4ab9bcc42f385ea4b5a.tar.gz |
obexd: Remove unused code
obc_transfer_append_dbus_properties as the code now uses
g_dbus_get_properties to append transfer properties.
Diffstat (limited to 'obexd/client/transfer.c')
-rw-r--r-- | obexd/client/transfer.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/obexd/client/transfer.c b/obexd/client/transfer.c index 5c652c0ff..aa29b490d 100644 --- a/obexd/client/transfer.c +++ b/obexd/client/transfer.c @@ -90,21 +90,6 @@ static GQuark obc_transfer_error_quark(void) return g_quark_from_static_string("obc-transfer-error-quark"); } -static void obc_transfer_append_dbus_properties(struct obc_transfer *transfer, - DBusMessageIter *dict) -{ - obex_dbus_dict_append(dict, "Name", DBUS_TYPE_STRING, &transfer->name); - obex_dbus_dict_append(dict, "Size", DBUS_TYPE_UINT64, &transfer->size); - - if (transfer->filename != NULL) - obex_dbus_dict_append(dict, "Filename", DBUS_TYPE_STRING, - &transfer->filename); - - if (transfer->obex != NULL) - obex_dbus_dict_append(dict, "Progress", DBUS_TYPE_UINT64, - &transfer->progress); -} - DBusMessage *obc_transfer_create_dbus_reply(struct obc_transfer *transfer, DBusMessage *message) { |