[gnome-color-manager/gnome-2-32] trivial: add another supported profile type for the cups devices
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager/gnome-2-32] trivial: add another supported profile type for the cups devices
- Date: Fri, 6 Aug 2010 10:53:24 +0000 (UTC)
commit 6712ef04a0dfc19490ae81076cf8e709acdd63c1
Author: Richard Hughes <richard hughsie com>
Date: Fri Jul 16 08:49:06 2010 +0100
trivial: add another supported profile type for the cups devices
src/gcm-device-cups.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-device-cups.c b/src/gcm-device-cups.c
index 00cfebc..012fca2 100644
--- a/src/gcm-device-cups.c
+++ b/src/gcm-device-cups.c
@@ -131,6 +131,8 @@ gcm_device_cups_set_from_dest (GcmDevice *device, http_t *http, cups_dest_t dest
colorspace = GCM_COLORSPACE_RGB;
else if (g_strcmp0 (value, "CMYK") == 0)
colorspace = GCM_COLORSPACE_CMYK;
+ else if (g_strcmp0 (value, "Gray") == 0)
+ colorspace = GCM_COLORSPACE_GRAY;
else
egg_warning ("colorspace not recognized: %s", value);
} else if (g_strcmp0 (keyword, "cupsICCProfile") == 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]