[gimp/goat-invasion: 131/325] app: remove gimpimage-colorhash.[ch]



commit 55673c6897acb4825681d0de5cc50dbc2d5422d5
Author: Michael Natterer <mitch gimp org>
Date:   Sun Mar 18 17:31:15 2012 +0100

    app: remove gimpimage-colorhash.[ch]
    
    All indexed mapping is done with Babl now \o/

 app/core/Makefile.am           |    2 -
 app/core/gimpimage-colorhash.c |  173 ----------------------------------------
 app/core/gimpimage-colorhash.h |   34 --------
 app/core/gimpimage-merge.c     |    1 -
 app/core/gimpimage.c           |    5 -
 5 files changed, 0 insertions(+), 215 deletions(-)
---
diff --git a/app/core/Makefile.am b/app/core/Makefile.am
index 073cab4..38901dc 100644
--- a/app/core/Makefile.am
+++ b/app/core/Makefile.am
@@ -201,8 +201,6 @@ libappcore_a_sources = \
 	gimpimage.h				\
 	gimpimage-arrange.c			\
 	gimpimage-arrange.h			\
-	gimpimage-colorhash.c			\
-	gimpimage-colorhash.h			\
 	gimpimage-colormap.c			\
 	gimpimage-colormap.h			\
 	gimpimage-contiguous-region.c		\
diff --git a/app/core/gimpimage-merge.c b/app/core/gimpimage-merge.c
index 705daca..9bfb175 100644
--- a/app/core/gimpimage-merge.c
+++ b/app/core/gimpimage-merge.c
@@ -41,7 +41,6 @@
 #include "gimperror.h"
 #include "gimpgrouplayer.h"
 #include "gimpimage.h"
-#include "gimpimage-colorhash.h"
 #include "gimpimage-merge.h"
 #include "gimpimage-undo.h"
 #include "gimpitemstack.h"
diff --git a/app/core/gimpimage.c b/app/core/gimpimage.c
index e53f078..cff6fe7 100644
--- a/app/core/gimpimage.c
+++ b/app/core/gimpimage.c
@@ -46,7 +46,6 @@
 #include "gimpguide.h"
 #include "gimpidtable.h"
 #include "gimpimage.h"
-#include "gimpimage-colorhash.h"
 #include "gimpimage-colormap.h"
 #include "gimpimage-guides.h"
 #include "gimpimage-sample-points.h"
@@ -596,8 +595,6 @@ gimp_image_class_init (GimpImageClass *klass)
                                                       GIMP_PARAM_READWRITE |
                                                       G_PARAM_CONSTRUCT));
 
-  gimp_image_color_hash_init ();
-
   g_type_class_add_private (klass, sizeof (GimpImagePrivate));
 }
 
@@ -1203,8 +1200,6 @@ gimp_image_real_colormap_changed (GimpImage *image,
 
   if (gimp_image_base_type (image) == GIMP_INDEXED)
     {
-      gimp_image_color_hash_invalidate (image, color_index);
-
       /* A colormap alteration affects the whole image */
       gimp_image_invalidate (image,
                              0, 0,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]