[gnome-photos] gegl: Style fix



commit cf0e0fdec700370954554f2990d4a47226156c7f
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Dec 7 13:54:25 2018 +0100

    gegl: Style fix

 src/photos-gegl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/photos-gegl.c b/src/photos-gegl.c
index 92012268..1c878076 100644
--- a/src/photos-gegl.c
+++ b/src/photos-gegl.c
@@ -662,7 +662,7 @@ photos_gegl_pixbuf_new_from_buffer (GeglBuffer *buffer)
 
   bbox = *gegl_buffer_get_extent (buffer);
   format_buffer = gegl_buffer_get_format (buffer);
-  has_alpha = babl_format_has_alpha (format_buffer);
+  has_alpha = (gboolean) babl_format_has_alpha (format_buffer);
 
   if (has_alpha)
     format_pixbuf = babl_format ("R'G'B'A u8");


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