gimp r24692 - in trunk: . app/core app/gegl app/tools



Author: mitch
Date: Wed Jan 23 16:49:05 2008
New Revision: 24692
URL: http://svn.gnome.org/viewvc/gimp?rev=24692&view=rev

Log:
2008-01-23  Michael Natterer  <mitch gimp org>

	* app/gegl/gimplevelsconfig.[ch]: to_levels_cruft() -> to_cruft().

	* app/core/gimpdrawable-levels.c
	* app/tools/gimplevelstool.c: changed accordingly.



Modified:
   trunk/ChangeLog
   trunk/app/core/gimpdrawable-levels.c
   trunk/app/gegl/gimplevelsconfig.c
   trunk/app/gegl/gimplevelsconfig.h
   trunk/app/tools/gimplevelstool.c

Modified: trunk/app/core/gimpdrawable-levels.c
==============================================================================
--- trunk/app/core/gimpdrawable-levels.c	(original)
+++ trunk/app/core/gimpdrawable-levels.c	Wed Jan 23 16:49:05 2008
@@ -114,8 +114,8 @@
       if (! gimp_drawable_mask_intersect (drawable, &x, &y, &width, &height))
         return;
 
-      gimp_levels_config_to_levels_cruft (config, &levels,
-                                          gimp_drawable_is_rgb (drawable));
+      gimp_levels_config_to_cruft (config, &levels,
+                                   gimp_drawable_is_rgb (drawable));
 
       lut = gimp_lut_new ();
       gimp_lut_setup (lut,
@@ -191,8 +191,8 @@
       Levels       levels;
       GimpLut     *lut;
 
-      gimp_levels_config_to_levels_cruft (config, &levels,
-                                          gimp_drawable_is_rgb (drawable));
+      gimp_levels_config_to_cruft (config, &levels,
+                                   gimp_drawable_is_rgb (drawable));
 
       lut  = gimp_lut_new ();
       gimp_lut_setup (lut,

Modified: trunk/app/gegl/gimplevelsconfig.c
==============================================================================
--- trunk/app/gegl/gimplevelsconfig.c	(original)
+++ trunk/app/gegl/gimplevelsconfig.c	Wed Jan 23 16:49:05 2008
@@ -417,9 +417,9 @@
 /*  temp cruft  */
 
 void
-gimp_levels_config_to_levels_cruft (GimpLevelsConfig *config,
-                                    Levels           *cruft,
-                                    gboolean          is_color)
+gimp_levels_config_to_cruft (GimpLevelsConfig *config,
+                             Levels           *cruft,
+                             gboolean          is_color)
 {
   GimpHistogramChannel channel;
 

Modified: trunk/app/gegl/gimplevelsconfig.h
==============================================================================
--- trunk/app/gegl/gimplevelsconfig.h	(original)
+++ trunk/app/gegl/gimplevelsconfig.h	Wed Jan 23 16:49:05 2008
@@ -73,7 +73,7 @@
                                              const GimpRGB        *white);
 
 /*  temp cruft  */
-void    gimp_levels_config_to_levels_cruft  (GimpLevelsConfig     *config,
+void    gimp_levels_config_to_cruft         (GimpLevelsConfig     *config,
                                              Levels               *cruft,
                                              gboolean              is_color);
 

Modified: trunk/app/tools/gimplevelstool.c
==============================================================================
--- trunk/app/tools/gimplevelstool.c	(original)
+++ trunk/app/tools/gimplevelstool.c	Wed Jan 23 16:49:05 2008
@@ -284,7 +284,7 @@
   GimpLevelsTool *tool = GIMP_LEVELS_TOOL (image_map_tool);
   Levels          levels;
 
-  gimp_levels_config_to_levels_cruft (tool->config, &levels, tool->color);
+  gimp_levels_config_to_cruft (tool->config, &levels, tool->color);
 
   gimp_lut_setup (tool->lut,
                   (GimpLutFunc) levels_lut_func,



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