summaryrefslogtreecommitdiff
path: root/foomaticrip.c
diff options
context:
space:
mode:
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) {