summaryrefslogtreecommitdiff
path: root/babl/babl-fish.c
diff options
context:
space:
mode:
authorMartin Nordholts <martinn@src.gnome.org>2009-01-20 19:29:49 +0000
committerMartin Nordholts <martinn@src.gnome.org>2009-01-20 19:29:49 +0000
commite74ab814d7ca971ce6842effd38dc805de96b6a9 (patch)
tree8c93eafa0bdde3d86d26d37a41f597d7bc918172 /babl/babl-fish.c
parent7729041ba00769efbbeba7e4bd10f63fac5cb55d (diff)
Since babl_foo_from_id() will not be part of the public API we can
revert to having the short variant babl_foo() instead of babl_foo_from_name(). * babl/babl-class.h * babl/babl-component.h * babl/babl-conversion.c * babl/babl-conversion.h * babl/babl-extension.h * babl/babl-fish-path.c * babl/babl-fish.c * babl/babl-format.c * babl/babl-format.h * babl/babl-image.c * babl/babl-internal.h * babl/babl-model.c * babl/babl-model.h * babl/babl-type.c * babl/babl-type.h * extensions/CIE-Lab.c * extensions/frequency.c * extensions/gegl-fixups.c * extensions/gggl-lies.c * extensions/gggl.c * extensions/gimp-8bit.c * extensions/naive-CMYK.c * extensions/sse-fixups.c * tests/grayscale_to_rgb.c * tests/rgb_to_bgr.c * tests/rgb_to_ycbcr.c svn path=/trunk/; revision=389
Diffstat (limited to 'babl/babl-fish.c')
-rw-r--r--babl/babl-fish.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/babl/babl-fish.c b/babl/babl-fish.c
index 3052377..a7b5cf7 100644
--- a/babl/babl-fish.c
+++ b/babl/babl-fish.c
@@ -165,7 +165,7 @@ babl_fish (const void *source,
source_format = source;
if (!source_format)
- source_format = babl_format_from_name ((char *) source);
+ source_format = babl_format ((char *) source);
if (!source_format)
{
@@ -177,7 +177,7 @@ babl_fish (const void *source,
destination_format = destination;
if (!destination_format)
- destination_format = babl_format_from_name ((char *) destination);
+ destination_format = babl_format ((char *) destination);
if (!destination_format)
{