[libchamplain] Perform tile animations on content actor as it works now
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Perform tile animations on content actor as it works now
- Date: Sat, 26 Feb 2011 12:58:59 +0000 (UTC)
commit ac06d541d55e8c2dc9e3032e4af95d3824ff3d16
Author: JiÅ?Ã Techet <techet gmail com>
Date: Sat Feb 26 01:23:37 2011 +0100
Perform tile animations on content actor as it works now
champlain/champlain-tile.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/champlain/champlain-tile.c b/champlain/champlain-tile.c
index 46c64e7..7339d2e 100644
--- a/champlain/champlain-tile.c
+++ b/champlain/champlain-tile.c
@@ -903,11 +903,10 @@ champlain_tile_display_content (ChamplainTile *self)
clutter_container_add_actor (CLUTTER_CONTAINER (priv->content_group), priv->content_actor);
- clutter_actor_set_opacity (CLUTTER_ACTOR (self), 0);
- clutter_actor_queue_relayout (CLUTTER_ACTOR (self));
+ clutter_actor_set_opacity (CLUTTER_ACTOR (priv->content_actor), 0);
if (priv->fade_in)
{
- animation = clutter_actor_animate (CLUTTER_ACTOR (self),
+ animation = clutter_actor_animate (CLUTTER_ACTOR (priv->content_actor),
CLUTTER_EASE_IN_CUBIC,
500,
"opacity", 255,
@@ -915,7 +914,7 @@ champlain_tile_display_content (ChamplainTile *self)
}
else
{
- animation = clutter_actor_animate (CLUTTER_ACTOR (self),
+ animation = clutter_actor_animate (CLUTTER_ACTOR (priv->content_actor),
CLUTTER_LINEAR,
150,
"opacity", 255,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]