champlain_tile_set_state (tile, CHAMPLAIN_STATE_DONE);
DEBUG ("Tile loaded from cache");
champlain_view_tile_ready (view, zoom_level, tile, FALSE);
- g_object_unref (actor);
g_object_unref (tile);
g_object_unref (zoom_level);
}
gint y;
guint size;
- g_object_get (G_OBJECT (tile), "actor", &actor,
- "x", &x, "y", &y,
- "size", &size, NULL);
+ actor = champlain_tile_get_actor (tile);
+ x = champlain_tile_get_x (tile);
+ y = champlain_tile_get_y (tile);
+ size = champlain_tile_get_size (tile);
clutter_actor_set_position (actor,
(x * size) - priv->anchor.x,