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

@@ -1298,7 +1298,7 @@ set_foreign_window_callback (ClutterActor *actor,
fwd->stage_x11->xwin_width = fwd->geom.width;
fwd->stage_x11->xwin_height = fwd->geom.height;
clutter_actor_set_geometry (actor, &fwd->geom);
clutter_actor_set_size (actor, fwd->geom.width, fwd->geom.height);
if (clutter_stages_by_xid == NULL)
clutter_stages_by_xid = g_hash_table_new (NULL, NULL);