[gegl] operations/generated: fix gamma hack condition



commit 12b93ac5c4c5d42506a26ab0b289662465b5a2be
Author: Øyvind Kolås <pippin gimp org>
Date:   Tue May 20 22:25:41 2014 +0200

    operations/generated: fix gamma hack condition
    
    This boolean property should probably be dropped instead..

 operations/generated/clear.c               |    2 +-
 operations/generated/color-burn.c          |    2 +-
 operations/generated/color-dodge.c         |    2 +-
 operations/generated/darken.c              |    2 +-
 operations/generated/difference.c          |    2 +-
 operations/generated/dst-atop.c            |    2 +-
 operations/generated/dst-in.c              |    2 +-
 operations/generated/dst-out.c             |    2 +-
 operations/generated/dst-over.c            |    2 +-
 operations/generated/dst.c                 |    2 +-
 operations/generated/exclusion.c           |    2 +-
 operations/generated/hard-light.c          |    2 +-
 operations/generated/lighten.c             |    2 +-
 operations/generated/overlay.c             |    2 +-
 operations/generated/plus.c                |    2 +-
 operations/generated/screen.c              |    2 +-
 operations/generated/soft-light.c          |    2 +-
 operations/generated/src-atop.c            |    2 +-
 operations/generated/src-in.c              |    2 +-
 operations/generated/src-out.c             |    2 +-
 operations/generated/src.c                 |    2 +-
 operations/generated/svg-12-blend.rb       |    2 +-
 operations/generated/svg-12-porter-duff.rb |    2 +-
 operations/generated/svg-multiply.c        |    2 +-
 operations/generated/xor.c                 |    2 +-
 25 files changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/operations/generated/clear.c b/operations/generated/clear.c
index 452e1d7..2fd63fd 100644
--- a/operations/generated/clear.c
+++ b/operations/generated/clear.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/color-burn.c b/operations/generated/color-burn.c
index 6182aff..08a4483 100644
--- a/operations/generated/color-burn.c
+++ b/operations/generated/color-burn.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/color-dodge.c b/operations/generated/color-dodge.c
index cbca350..188d3b1 100644
--- a/operations/generated/color-dodge.c
+++ b/operations/generated/color-dodge.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/darken.c b/operations/generated/darken.c
index 323ebfe..3bd2e40 100644
--- a/operations/generated/darken.c
+++ b/operations/generated/darken.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/difference.c b/operations/generated/difference.c
index 333e29a..b0e054b 100644
--- a/operations/generated/difference.c
+++ b/operations/generated/difference.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/dst-atop.c b/operations/generated/dst-atop.c
index 0cbd312..afabb57 100644
--- a/operations/generated/dst-atop.c
+++ b/operations/generated/dst-atop.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/dst-in.c b/operations/generated/dst-in.c
index 7531178..cd4c706 100644
--- a/operations/generated/dst-in.c
+++ b/operations/generated/dst-in.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/dst-out.c b/operations/generated/dst-out.c
index f9ba0c0..8cf5778 100644
--- a/operations/generated/dst-out.c
+++ b/operations/generated/dst-out.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/dst-over.c b/operations/generated/dst-over.c
index 1cc8e16..bc5b58a 100644
--- a/operations/generated/dst-over.c
+++ b/operations/generated/dst-over.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/dst.c b/operations/generated/dst.c
index 41bac88..795adb5 100644
--- a/operations/generated/dst.c
+++ b/operations/generated/dst.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/exclusion.c b/operations/generated/exclusion.c
index d1b97d0..b30d03e 100644
--- a/operations/generated/exclusion.c
+++ b/operations/generated/exclusion.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/hard-light.c b/operations/generated/hard-light.c
index 9a982e1..4c3676a 100644
--- a/operations/generated/hard-light.c
+++ b/operations/generated/hard-light.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/lighten.c b/operations/generated/lighten.c
index bed901b..4adf011 100644
--- a/operations/generated/lighten.c
+++ b/operations/generated/lighten.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/overlay.c b/operations/generated/overlay.c
index 15a2f4e..b95e2a2 100644
--- a/operations/generated/overlay.c
+++ b/operations/generated/overlay.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/plus.c b/operations/generated/plus.c
index 8c72596..7f50359 100644
--- a/operations/generated/plus.c
+++ b/operations/generated/plus.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/screen.c b/operations/generated/screen.c
index eba34da..42f64a4 100644
--- a/operations/generated/screen.c
+++ b/operations/generated/screen.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/soft-light.c b/operations/generated/soft-light.c
index 3dc8ddd..105fa5b 100644
--- a/operations/generated/soft-light.c
+++ b/operations/generated/soft-light.c
@@ -50,7 +50,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/src-atop.c b/operations/generated/src-atop.c
index 48b424c..6f6d78a 100644
--- a/operations/generated/src-atop.c
+++ b/operations/generated/src-atop.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/src-in.c b/operations/generated/src-in.c
index 374cdfc..57b26af 100644
--- a/operations/generated/src-in.c
+++ b/operations/generated/src-in.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/src-out.c b/operations/generated/src-out.c
index 1e499d3..e02e924 100644
--- a/operations/generated/src-out.c
+++ b/operations/generated/src-out.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/src.c b/operations/generated/src.c
index a84d29e..65c87e0 100644
--- a/operations/generated/src.c
+++ b/operations/generated/src.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/svg-12-blend.rb b/operations/generated/svg-12-blend.rb
index 2f8d9e4..94a7542 100755
--- a/operations/generated/svg-12-blend.rb
+++ b/operations/generated/svg-12-blend.rb
@@ -89,7 +89,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R\'aG\'aB\'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/svg-12-porter-duff.rb b/operations/generated/svg-12-porter-duff.rb
index 74441c6..60697ae 100755
--- a/operations/generated/svg-12-porter-duff.rb
+++ b/operations/generated/svg-12-porter-duff.rb
@@ -91,7 +91,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R\'aG\'aB\'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/svg-multiply.c b/operations/generated/svg-multiply.c
index 1a2675e..e6462a7 100644
--- a/operations/generated/svg-multiply.c
+++ b/operations/generated/svg-multiply.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");
diff --git a/operations/generated/xor.c b/operations/generated/xor.c
index d8c8068..0c3dd80 100644
--- a/operations/generated/xor.c
+++ b/operations/generated/xor.c
@@ -49,7 +49,7 @@ static void prepare (GeglOperation *operation)
 {
   const Babl *format;
 
-  if (GEGL_PROPERTIES (operation))
+  if (GEGL_PROPERTIES (operation)->srgb)
     format = babl_format ("R'aG'aB'aA float");
   else
     format = babl_format ("RaGaBaA float");


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