[clutter] Replace ClutterGeometry with cairo_rectangle_int_t
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] Replace ClutterGeometry with cairo_rectangle_int_t
- Date: Tue, 8 Nov 2011 15:13:37 +0000 (UTC)
commit 4fe7a77302ed0de7a977916e83e4b62244b99275
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Tue Nov 8 14:20:32 2011 +0000
Replace ClutterGeometry with cairo_rectangle_int_t
We still use ClutterGeometry internally in a couple of places, but we
should really move away from that flawed rectangle data type, and use
the Cairo one.
Sadly, we still have some public API that we cannot remove yet.
clutter/win32/clutter-stage-win32.c | 2 +-
clutter/x11/clutter-stage-x11.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clutter/win32/clutter-stage-win32.c b/clutter/win32/clutter-stage-win32.c
index 573b013..ade15e8 100644
--- a/clutter/win32/clutter-stage-win32.c
+++ b/clutter/win32/clutter-stage-win32.c
@@ -673,7 +673,7 @@ clutter_win32_get_stage_from_window (HWND hwnd)
typedef struct {
ClutterStageWin32 *stage_win32;
- ClutterGeometry geom;
+ cairo_rectangle_int_t geom;
HWND hwnd;
guint destroy_old_hwnd : 1;
} ForeignWindowData;
diff --git a/clutter/x11/clutter-stage-x11.c b/clutter/x11/clutter-stage-x11.c
index ac84639..dcfcaef 100644
--- a/clutter/x11/clutter-stage-x11.c
+++ b/clutter/x11/clutter-stage-x11.c
@@ -1269,7 +1269,7 @@ clutter_x11_get_stage_visual (ClutterStage *stage)
typedef struct {
ClutterStageX11 *stage_x11;
- ClutterGeometry geom;
+ cairo_rectangle_int_t geom;
Window xwindow;
guint destroy_old_xwindow : 1;
} ForeignWindowData;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]