gimp r27923 - in trunk: . app/gegl
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27923 - in trunk: . app/gegl
- Date: Tue, 20 Jan 2009 20:11:23 +0000 (UTC)
Author: martinn
Date: Tue Jan 20 20:11:23 2009
New Revision: 27923
URL: http://svn.gnome.org/viewvc/gimp?rev=27923&view=rev
Log:
Adjust to babl API adjustment by doing
s/babl_format_from_name/babl_format/
* app/gegl/gimp-gegl-utils.c
* app/gegl/gimpoperationpointlayermode.c
* app/gegl/gimpoperationtilesource.c
Modified:
trunk/ChangeLog
trunk/app/gegl/gimp-gegl-utils.c
trunk/app/gegl/gimpoperationpointlayermode.c
trunk/app/gegl/gimpoperationtilesource.c
Modified: trunk/app/gegl/gimp-gegl-utils.c
==============================================================================
--- trunk/app/gegl/gimp-gegl-utils.c (original)
+++ trunk/app/gegl/gimp-gegl-utils.c Tue Jan 20 20:11:23 2009
@@ -48,13 +48,13 @@
switch (bpp)
{
case 1:
- return babl_format_from_name ("Y u8");
+ return babl_format ("Y u8");
case 2:
- return babl_format_from_name ("YA u8");
+ return babl_format ("YA u8");
case 3:
- return babl_format_from_name ("RGB u8");
+ return babl_format ("RGB u8");
case 4:
- return babl_format_from_name ("RGBA u8");
+ return babl_format ("RGBA u8");
}
}
else
@@ -62,13 +62,13 @@
switch (bpp)
{
case 1:
- return babl_format_from_name ("Y' u8");
+ return babl_format ("Y' u8");
case 2:
- return babl_format_from_name ("Y'A u8");
+ return babl_format ("Y'A u8");
case 3:
- return babl_format_from_name ("R'G'B' u8");
+ return babl_format ("R'G'B' u8");
case 4:
- return babl_format_from_name ("R'G'B'A u8");
+ return babl_format ("R'G'B'A u8");
}
}
Modified: trunk/app/gegl/gimpoperationpointlayermode.c
==============================================================================
--- trunk/app/gegl/gimpoperationpointlayermode.c (original)
+++ trunk/app/gegl/gimpoperationpointlayermode.c Tue Jan 20 20:11:23 2009
@@ -186,7 +186,7 @@
static void
gimp_operation_point_layer_mode_prepare (GeglOperation *operation)
{
- Babl *format = babl_format_from_name ("RaGaBaA float");
+ Babl *format = babl_format ("RaGaBaA float");
gegl_operation_set_format (operation, "input", format);
gegl_operation_set_format (operation, "output", format);
Modified: trunk/app/gegl/gimpoperationtilesource.c
==============================================================================
--- trunk/app/gegl/gimpoperationtilesource.c (original)
+++ trunk/app/gegl/gimpoperationtilesource.c Tue Jan 20 20:11:23 2009
@@ -185,7 +185,7 @@
if (self->tile_manager)
{
- gegl_operation_set_format (operation, "output", babl_format_from_name("RaGaBaA float"));
+ gegl_operation_set_format (operation, "output", babl_format("RaGaBaA float"));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]