diff options
author | Richard Hughes <richard@hughsie.com> | 2013-05-10 15:31:11 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2013-05-10 15:41:44 +0100 |
commit | 7b5019d40842e7971f48a6ccd06a4ae6ffba6098 (patch) | |
tree | 727d0324b3deb8b40d35cc92201e9160e66a5b22 /client/cd-util.c | |
parent | 2e243b33b8dfcbe95e48e9e5d44ed96e7255a65a (diff) | |
download | colord-7b5019d40842e7971f48a6ccd06a4ae6ffba6098.tar.gz |
Do not show a warning when using 'colormgr device-get-profile-for-qualifier'
Additionally, do not use the object path as an extra qualifier [typo?].
Diffstat (limited to 'client/cd-util.c')
-rw-r--r-- | client/cd-util.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/cd-util.c b/client/cd-util.c index 9e52342..fdde6e9 100644 --- a/client/cd-util.c +++ b/client/cd-util.c @@ -2005,13 +2005,16 @@ cd_util_device_get_profile_for_qualifiers (CdUtilPrivate *priv, if (!ret) goto out; profile = cd_device_get_profile_for_qualifiers_sync (device, - (const gchar **) values, + (const gchar **) &values[1], NULL, error); if (profile == NULL) { ret = FALSE; goto out; } + ret = cd_profile_connect_sync (profile, NULL, error); + if (!ret) + goto out; cd_util_show_profile (profile); out: if (device != NULL) |