[gnome-control-center] color: Remove some conditional code, the colord dep is new enough
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] color: Remove some conditional code, the colord dep is new enough
- Date: Mon, 4 Feb 2013 11:51:54 +0000 (UTC)
commit e759f28020930df88b6e692af29272573e7e3c9c
Author: Richard Hughes <richard hughsie com>
Date: Mon Feb 4 11:47:05 2013 +0000
color: Remove some conditional code, the colord dep is new enough
panels/color/cc-color-panel.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/panels/color/cc-color-panel.c b/panels/color/cc-color-panel.c
index 9e1664d..05ffa53 100644
--- a/panels/color/cc-color-panel.c
+++ b/panels/color/cc-color-panel.c
@@ -594,9 +594,7 @@ static gboolean
gcm_prefs_is_profile_suitable_for_device (CdProfile *profile,
CdDevice *device)
{
-#if CD_CHECK_VERSION(0,1,14)
const gchar *data_source;
-#endif
CdProfileKind profile_kind_tmp;
CdProfileKind profile_kind;
CdColorspace profile_colorspace;
@@ -617,13 +615,11 @@ gcm_prefs_is_profile_suitable_for_device (CdProfile *profile,
if (profile_kind_tmp != profile_kind)
goto out;
-#if CD_CHECK_VERSION(0,1,14)
/* ignore the colorspace profiles */
data_source = cd_profile_get_metadata_item (profile,
CD_PROFILE_METADATA_DATA_SOURCE);
if (g_strcmp0 (data_source, CD_PROFILE_METADATA_DATA_SOURCE_STANDARD) == 0)
goto out;
-#endif
/* success */
ret = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]