[cogl] Swaps a few uses of gint for int



commit e1bd0b209063b65bf2003db98afefaa9335601ad
Author: Robert Bragg <robert linux intel com>
Date:   Mon Jan 16 11:40:00 2012 +0000

    Swaps a few uses of gint for int
    
    We've avoiding using the redundant glib typedefs such as guint, gint
    gpointer etc and prefer to use the equivalent C types so this patch
    removes a few uses of gint that slipped past review.

 cogl/cogl-onscreen.h                  |    8 ++++----
 cogl/winsys/cogl-winsys-egl-wayland.c |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/cogl/cogl-onscreen.h b/cogl/cogl-onscreen.h
index e903f82..bc11217 100644
--- a/cogl/cogl-onscreen.h
+++ b/cogl/cogl-onscreen.h
@@ -187,10 +187,10 @@ cogl_wayland_onscreen_get_shell_surface (CoglOnscreen *onscreen);
 
 void
 cogl_wayland_onscreen_resize (CoglOnscreen *onscreen,
-                              gint          width,
-                              gint          height,
-                              gint          offset_x,
-                              gint          offset_y);
+                              int           width,
+                              int           height,
+                              int           offset_x,
+                              int           offset_y);
 #endif /* COGL_HAS_EGL_PLATFORM_WAYLAND_SUPPORT */
 
 /**
diff --git a/cogl/winsys/cogl-winsys-egl-wayland.c b/cogl/winsys/cogl-winsys-egl-wayland.c
index 46e144b..729ecac 100644
--- a/cogl/winsys/cogl-winsys-egl-wayland.c
+++ b/cogl/winsys/cogl-winsys-egl-wayland.c
@@ -501,10 +501,10 @@ cogl_wayland_onscreen_get_shell_surface (CoglOnscreen *onscreen)
 
 void
 cogl_wayland_onscreen_resize (CoglOnscreen *onscreen,
-                              gint          width,
-                              gint          height,
-                              gint          offset_x,
-                              gint          offset_y)
+                              int           width,
+                              int           height,
+                              int           offset_x,
+                              int           offset_y)
 {
   CoglFramebuffer *fb;
 



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