app: s/Babl/const Babl/

This commit is contained in:
Michael Natterer 2012-03-24 18:52:31 +01:00
parent f28a17f5d3
commit 439f7f579a
4 changed files with 10 additions and 10 deletions

View File

@ -71,7 +71,7 @@ static void gimp_operation_cage_transform_interpolate_source_coords_recu
gfloat *coords);
static GimpVector2 gimp_cage_transform_compute_destination (GimpCageConfig *config,
gfloat *coef,
Babl *format_coef,
const Babl *format_coef,
GeglBuffer *coef_buf,
GimpVector2 coords);
GeglRectangle gimp_operation_cage_transform_get_cached_region (GeglOperation *operation,
@ -231,7 +231,7 @@ gimp_operation_cage_transform_process (GeglOperation *operation,
GeglRectangle cage_bb;
gfloat *coords;
gfloat *coef;
Babl *format_coef;
const Babl *format_coef;
GimpVector2 plain_color;
GeglBufferIterator *it;
gint x, y;
@ -541,7 +541,7 @@ gimp_operation_cage_transform_interpolate_source_coords_recurs (GimpOperationCag
static GimpVector2
gimp_cage_transform_compute_destination (GimpCageConfig *config,
gfloat *coef,
Babl *format_coef,
const Babl *format_coef,
GeglBuffer *coef_buf,
GimpVector2 coords)
{

View File

@ -42,7 +42,7 @@ struct _GimpOperationCageTransform
GimpCageConfig *config;
gboolean fill_plain_color;
Babl *format_coords;
const Babl *format_coords;
gdouble progress; /* bad hack */
};

View File

@ -179,7 +179,7 @@ gimp_operation_point_layer_mode_get_property (GObject *object,
static void
gimp_operation_point_layer_mode_prepare (GeglOperation *operation)
{
Babl *format = babl_format ("RaGaBaA float");
const Babl *format = babl_format ("RaGaBaA float");
gegl_operation_set_format (operation, "input", format);
gegl_operation_set_format (operation, "output", format);
@ -195,10 +195,10 @@ gimp_operation_point_layer_mode_get_new_color_lchab (GimpLayerModeEffects blend
float in_lchab[3];
float lay_lchab[3];
float new_lchab[3];
Babl *ragabaa_to_lchab = babl_fish (babl_format ("RaGaBaA float"),
babl_format ("CIE LCH(ab) float"));
Babl *lchab_to_ragabaa = babl_fish (babl_format ("CIE LCH(ab) float"),
babl_format ("RaGaBaA float"));
const Babl *ragabaa_to_lchab = babl_fish (babl_format ("RaGaBaA float"),
babl_format ("CIE LCH(ab) float"));
const Babl *lchab_to_ragabaa = babl_fish (babl_format ("CIE LCH(ab) float"),
babl_format ("RaGaBaA float"));
babl_process (ragabaa_to_lchab, (void*)in, (void*)in_lchab, 1);
babl_process (ragabaa_to_lchab, (void*)lay, (void*)lay_lchab, 1);

View File

@ -1083,7 +1083,7 @@ gimp_cage_tool_compute_coef (GimpCageTool *ct)
{
GimpCageConfig *config = ct->config;
GimpProgress *progress;
Babl *format;
const Babl *format;
GeglNode *gegl;
GeglNode *input;
GeglNode *output;