[ease] Fixed Clutter runtime warnings in transitions.
- From: Nate Stedman <natesm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease] Fixed Clutter runtime warnings in transitions.
- Date: Thu, 10 Jun 2010 06:49:43 +0000 (UTC)
commit bf4a480c4215b26c6c2aca624b6c0d39ce6c42d2
Author: Nate Stedman <natesm gmail com>
Date: Thu Jun 10 02:49:21 2010 -0400
Fixed Clutter runtime warnings in transitions.
src/Player.vala | 3 +--
src/SlideActor.vala | 4 ----
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/Player.vala b/src/Player.vala
index 4d5aaa5..658c133 100644
--- a/src/Player.vala
+++ b/src/Player.vala
@@ -41,7 +41,7 @@ public class Ease.Player : GLib.Object
private float scale = 1;
// constants
- private const bool PRESENTATION_FULLSCREEN = true;
+ private const bool PRESENTATION_FULLSCREEN = false;
private const uint FADE_IN_TIME = 1000;
public Player(Document doc)
@@ -149,7 +149,6 @@ public class Ease.Player : GLib.Object
current_slide.opacity = 0;
current_slide.animate(Clutter.AnimationMode.EASE_IN_SINE,
FADE_IN_TIME, "opacity", 255);
- container.add_actor(current_slide);
advance_alarm = new Clutter.Timeline(FADE_IN_TIME);
advance_alarm.completed.connect(animation_complete);
diff --git a/src/SlideActor.vala b/src/SlideActor.vala
index 6fe56e9..95c6100 100644
--- a/src/SlideActor.vala
+++ b/src/SlideActor.vala
@@ -988,10 +988,6 @@ public class Ease.SlideActor : Clutter.Group
container.remove_actor(left_group);
container.remove_actor(right_group);
});
-
- time2.completed.connect(() => {
- container.remove_actor(reflection);
- });
time1.start();
time2.start();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]