[cogl/fosdem-2012: 19/20] Swaps a few uses of gint for int
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/fosdem-2012: 19/20] Swaps a few uses of gint for int
- Date: Mon, 16 Jan 2012 13:12:30 +0000 (UTC)
commit 425a2638ec13de3644143f81ea39a96e8cc46774
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 b6f8587..4efa292 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]