Replace usage of [sg]et_geometry()

The set_geometry() and get_geometry() methods are going to be
deprecated.
This commit is contained in:
Emmanuele Bassi
2011-11-08 14:46:16 +00:00
parent 4fe7a77302
commit 101f39ea92
6 changed files with 38 additions and 45 deletions

View File

@@ -700,7 +700,7 @@ set_foreign_window_callback (ClutterActor *actor,
fwd->stage_win32->win_width = fwd->geom.width;
fwd->stage_win32->win_height = fwd->geom.height;
clutter_actor_set_geometry (actor, &fwd->geom);
clutter_actor_set_size (actor, fwd->geom.width, fwd->geom.height);
/* calling this with the stage unrealized will unset the stage
* from the GL context; once the stage is realized the GL context