diff options
author | Didier Raboud <odyx@debian.org> | 2011-08-03 17:18:36 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2011-08-03 17:18:36 +0200 |
commit | 3ce9d08dc40e442b27353e7171c4796984a91160 (patch) | |
tree | 68b28fb9cb315b4603a3800abb4777ccc6a507eb /foomaticrip.c | |
parent | fa6829ef6207f1f4104afb31243d53d15d970acc (diff) | |
parent | d128dcd243d7115c292255621f819356772945d2 (diff) |
Merge commit 'upstream/4.0.9'
Diffstat (limited to 'foomaticrip.c')
-rw-r--r-- | foomaticrip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/foomaticrip.c b/foomaticrip.c index 1970c7c..e9ae0f7 100644 --- a/foomaticrip.c +++ b/foomaticrip.c @@ -1514,9 +1514,11 @@ int main(int argc, char** argv) _log("INFO: Using qualifer: '%s.%s.%s'\n", qualifier[0], qualifier[1], qualifier[2]); +#ifdef HAVE_DBUS /* ask colord for the profile */ icc_profile = colord_get_profile_for_device_id ((const char *) getenv("PRINTER"), qualifier); +#endif /* fall back to PPD */ if (icc_profile == NULL) { |