summaryrefslogtreecommitdiff
path: root/foomaticrip.c
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2011-08-03 17:18:36 +0200
committerDidier Raboud <odyx@debian.org>2011-08-03 17:18:36 +0200
commit3ce9d08dc40e442b27353e7171c4796984a91160 (patch)
tree68b28fb9cb315b4603a3800abb4777ccc6a507eb /foomaticrip.c
parentfa6829ef6207f1f4104afb31243d53d15d970acc (diff)
parentd128dcd243d7115c292255621f819356772945d2 (diff)
Merge commit 'upstream/4.0.9'
Diffstat (limited to 'foomaticrip.c')
-rw-r--r--foomaticrip.c2
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) {