From 2d4fde8e79a6889200227ec12eeb10c69893c9d7 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 9 Dec 2008 11:05:46 +0200 Subject: 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. --- src/adapter.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/adapter.c') 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; -- cgit