summaryrefslogtreecommitdiffstats
path: root/src/adapter.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-12-09 11:05:46 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-09 11:05:46 +0200
commit2d4fde8e79a6889200227ec12eeb10c69893c9d7 (patch)
tree06bdd24ac0149565b4b1a65b7a254ed1e29d4e4b /src/adapter.c
parent06637b08f721e1565fa05b818adfb8a0acec804e (diff)
Allow FindDevice to find temporary devices
E.g. in the case of an incoming object push request we may not be paired with the remote device and therefore the temporary flag will be set. However, if there's a "receive file" UI active it will most likely want to show at least the remote device name and therefore it should be possible to use FindDevice.
Diffstat (limited to 'src/adapter.c')
-rw-r--r--src/adapter.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/adapter.c b/src/adapter.c
index d97c707d..c85ca360 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -2163,11 +2163,6 @@ static DBusMessage *find_device(DBusConnection *conn,
device = l->data;
- if (device_is_temporary(device))
- return g_dbus_create_error(msg,
- ERROR_INTERFACE ".DoesNotExist",
- "Device creation in progress");
-
reply = dbus_message_new_method_return(msg);
if (!reply)
return NULL;