summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@novell.com>2010-02-16 18:19:05 +0100
committerVincent Untz <vuntz@novell.com>2010-02-16 18:19:05 +0100
commit8d646a9c09ce6c38f17a6fd421d890b365a56d23 (patch)
tree8d35b2267bdf3235df09094f0efd77a5a4692118
parent362d1354f8b788db3e521cb2dd44249859841b2f (diff)
Be less strict when accepting devices to output in pre cups 1.4 code
In pycups, only the device URI is required to be set, so behave the same way.
-rw-r--r--src/cups.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cups.c b/src/cups.c
index d0def78..2d1a360 100644
--- a/src/cups.c
+++ b/src/cups.c
@@ -1957,8 +1957,7 @@ cph_cups_devices_get (CphCups *cups,
attr = attr->next;
}
- if (device_class && device_id && device_info && device_make_and_model &&
- device_uri)
+ if (device_uri)
_cph_cups_get_devices_cb (device_class,
device_id,
device_info,