[gegl] geglcolor: swap fishes for conversions to and from pixel
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] geglcolor: swap fishes for conversions to and from pixel
- Date: Thu, 15 Mar 2012 23:36:52 +0000 (UTC)
commit d3d965844c4f150fad85629edd9fd4f1eacfa0ff
Author: Ãyvind KolÃs <pippin gimp org>
Date: Thu Mar 15 23:36:45 2012 +0000
geglcolor: swap fishes for conversions to and from pixel
gegl/property-types/gegl-color.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/property-types/gegl-color.c b/gegl/property-types/gegl-color.c
index c47607c..1662b10 100644
--- a/gegl/property-types/gegl-color.c
+++ b/gegl/property-types/gegl-color.c
@@ -267,7 +267,7 @@ void gegl_color_set_pixel (GeglColor *color,
g_return_if_fail (pixel);
babl_process (
- babl_fish (babl_format ("RGBA float"), format),
+ babl_fish (format, babl_format ("RGBA float")),
pixel, color->priv->rgba_color, 1);
}
@@ -280,7 +280,7 @@ void gegl_color_get_pixel (GeglColor *color,
g_return_if_fail (pixel);
babl_process (
- babl_fish (format, babl_format ("RGBA float")),
+ babl_fish (babl_format ("RGBA float"), format),
color->priv->rgba_color, pixel, 1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]