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



commit 40b720b4a3eab721cf894a815a0cdf5e5a9b5302
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 7104d33..cea6344 100644
--- a/cogl/winsys/cogl-winsys-glx.c
+++ b/cogl/winsys/cogl-winsys-glx.c
@@ -444,7 +444,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]