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.
This commit is contained in:
Emmanuele Bassi 2011-11-08 14:20:32 +00:00
parent 76e85f68ea
commit 4fe7a77302
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;