summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2012-12-03 23:15:48 +0000
committerRobert Bragg <robert@linux.intel.com>2013-01-23 11:36:12 +0000
commit4a881b2fed030981558e02ff1b28f07606cc0692 (patch)
tree0e2aeec7250a349fff33c1b56259074b1baa03ef
parent98d2be959c02ef911fdfe038590c226dc8681a1b (diff)
downloadcogl-4a881b2fed030981558e02ff1b28f07606cc0692.tar.gz
use c99 types if applicable and s/gboolean/CoglBool/
TODO: squash back into owen's patch
-rw-r--r--cogl/cogl-xlib-renderer.c6
-rw-r--r--cogl/winsys/cogl-winsys-glx.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/cogl/cogl-xlib-renderer.c b/cogl/cogl-xlib-renderer.c
index 833440c0..ed7fed18 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 15a59197..558dc631 100644
--- a/cogl/winsys/cogl-winsys-glx.c
+++ b/cogl/winsys/cogl-winsys-glx.c
@@ -448,7 +448,7 @@ _cogl_winsys_renderer_disconnect (CoglRenderer *renderer)
g_slice_free (CoglGLXRenderer, renderer->winsys);
}
-static gboolean
+static CoglBool
update_all_outputs (CoglRenderer *renderer)
{
GList *l;