[gtk/wip/chergert/glproto] gskglrenderer: Use gboolean instead of bool



commit 2e00d4a4b86018ea77d1d30d4b00ff64115339b0
Author: Fabio Lagalla <lagfabio amazon com>
Date:   Tue Jan 26 14:57:02 2021 +0100

    gskglrenderer: Use gboolean instead of bool

 gsk/gl/gskglrenderops.c        | 4 ++--
 gsk/gl/gskglrenderopsprivate.h | 4 ++--
 gsk/gl/opbuffer.h              | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gsk/gl/gskglrenderops.c b/gsk/gl/gskglrenderops.c
index ad9518b228..f5c6ab6e62 100644
--- a/gsk/gl/gskglrenderops.c
+++ b/gsk/gl/gskglrenderops.c
@@ -859,7 +859,7 @@ void
 ops_set_linear_gradient (RenderOpBuilder     *self,
                          guint                n_color_stops,
                          const GskColorStop  *color_stops,
-                         bool                 repeat,
+                         gboolean             repeat,
                          float                start_x,
                          float                start_y,
                          float                end_x,
@@ -924,7 +924,7 @@ void
 ops_set_radial_gradient (RenderOpBuilder    *self,
                          guint               n_color_stops,
                          const GskColorStop *color_stops,
-                         bool                repeat,
+                         gboolean            repeat,
                          float               center_x,
                          float               center_y,
                          float               start,
diff --git a/gsk/gl/gskglrenderopsprivate.h b/gsk/gl/gskglrenderopsprivate.h
index d556009d06..20af58fda5 100644
--- a/gsk/gl/gskglrenderopsprivate.h
+++ b/gsk/gl/gskglrenderopsprivate.h
@@ -317,7 +317,7 @@ void              ops_set_unblurred_outset_shadow   (RenderOpBuilder         *se
 void              ops_set_linear_gradient (RenderOpBuilder     *self,
                                            guint                n_color_stops,
                                            const GskColorStop  *color_stops,
-                                           bool                 repeat,
+                                           gboolean             repeat,
                                            float                start_x,
                                            float                start_y,
                                            float                end_x,
@@ -325,7 +325,7 @@ void              ops_set_linear_gradient (RenderOpBuilder     *self,
 void              ops_set_radial_gradient (RenderOpBuilder        *self,
                                            guint                   n_color_stops,
                                            const GskColorStop     *color_stops,
-                                           bool                    repeat,
+                                           gboolean                repeat,
                                            float                   center_x,
                                            float                   center_y,
                                            float                   start,
diff --git a/gsk/gl/opbuffer.h b/gsk/gl/opbuffer.h
index a5c1af9189..e13e8ab2e4 100644
--- a/gsk/gl/opbuffer.h
+++ b/gsk/gl/opbuffer.h
@@ -146,7 +146,7 @@ typedef struct
   IntUniformValue n_color_stops;
   float start_point[2];
   float end_point[2];
-  bool repeat;
+  gboolean repeat;
 } OpLinearGradient;
 
 typedef struct
@@ -157,7 +157,7 @@ typedef struct
   float end;
   float radius[2];
   float center[2];
-  bool repeat;
+  gboolean repeat;
 } OpRadialGradient;
 
 typedef struct


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