[cogl/wip/rib/frame-synchronization: 2/12] use c99 types if applicable and s/gboolean/CoglBool/



commit 03a621fead36d113da0530f9dc7a406172cc87fe
Author: Robert Bragg <robert linux intel com>
Date:   Mon Dec 3 23:15:48 2012 +0000

    use c99 types if applicable and s/gboolean/CoglBool/
    
    TODO: squash back into owen's patch

 cogl/cogl-xlib-renderer.c     |    6 +++---
 cogl/winsys/cogl-winsys-glx.c |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/cogl/cogl-xlib-renderer.c b/cogl/cogl-xlib-renderer.c
index c3964c1..1060949 100644
--- a/cogl/cogl-xlib-renderer.c
+++ b/cogl/cogl-xlib-renderer.c
@@ -219,16 +219,16 @@ static CoglSubpixelOrder subpixel_map[6][6] = {
 
 static void
 update_outputs (CoglRenderer *renderer,
-                gboolean      notify)
+                CoglBool notify)
 {
   CoglXlibRenderer *xlib_renderer =
     _cogl_xlib_renderer_get_data (renderer);
   XRRScreenResources *resources;
   CoglXlibTrapState state;
-  gboolean error = FALSE;
+  CoglBool error = FALSE;
   GList *new_outputs = NULL;
   GList *l, *m;
-  gboolean changed = FALSE;
+  CoglBool changed = FALSE;
   int i;
 
   xlib_renderer->outputs_update_serial = XNextRequest (xlib_renderer->xdpy);
diff --git a/cogl/winsys/cogl-winsys-glx.c b/cogl/winsys/cogl-winsys-glx.c
index 11b0cc1..f52304d 100644
--- a/cogl/winsys/cogl-winsys-glx.c
+++ b/cogl/winsys/cogl-winsys-glx.c
@@ -314,7 +314,7 @@ _cogl_winsys_renderer_disconnect (CoglRenderer *renderer)
   g_slice_free (CoglGLXRenderer, renderer->winsys);
 }
 
-static gboolean
+static CoglBool
 update_all_outputs (CoglRenderer *renderer)
 {
   GList *l;



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