[gnome-color-manager] trivial: remove unused data fields in GcmProfile
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: remove unused data fields in GcmProfile
- Date: Sun, 10 Oct 2010 18:59:46 +0000 (UTC)
commit 32d180475ca5fc49126c12557b3fcb7826d3367c
Author: Richard Hughes <richard hughsie com>
Date: Sun Oct 10 20:57:37 2010 +0100
trivial: remove unused data fields in GcmProfile
libcolor-glib/gcm-profile.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/libcolor-glib/gcm-profile.c b/libcolor-glib/gcm-profile.c
index 9f4ae9d..e5958d4 100644
--- a/libcolor-glib/gcm-profile.c
+++ b/libcolor-glib/gcm-profile.c
@@ -72,10 +72,6 @@ struct _GcmProfilePrivate
GFileMonitor *monitor;
gboolean has_mlut;
cmsHPROFILE lcms_profile;
- GcmClutData *vcgt_data;
- guint vcgt_data_size;
- GcmClutData *mlut_data;
- guint mlut_data_size;
};
enum {
@@ -1491,8 +1487,6 @@ static void
gcm_profile_init (GcmProfile *profile)
{
profile->priv = GCM_PROFILE_GET_PRIVATE (profile);
- profile->priv->vcgt_data = NULL;
- profile->priv->mlut_data = NULL;
profile->priv->can_delete = FALSE;
profile->priv->monitor = NULL;
profile->priv->kind = GCM_PROFILE_KIND_UNKNOWN;
@@ -1523,8 +1517,6 @@ gcm_profile_finalize (GObject *object)
g_free (priv->model);
g_free (priv->datetime);
g_free (priv->checksum);
- g_free (priv->vcgt_data);
- g_free (priv->mlut_data);
gcm_color_free_XYZ (priv->white);
gcm_color_free_XYZ (priv->black);
gcm_color_free_XYZ (priv->red);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]