[seed] Workaround for strange timeline problem.
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Workaround for strange timeline problem.
- Date: Fri, 17 Apr 2009 04:15:21 -0400 (EDT)
commit f64b01c0505f8ddf9a20c2bced56e0ff55fef4b8
Author: Tim Horton <hortont424 gmail com>
Date: Fri Apr 17 04:13:52 2009 -0400
Workaround for strange timeline problem.
---
examples/clutter-transitions/main.js | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/examples/clutter-transitions/main.js b/examples/clutter-transitions/main.js
index fbb0e68..373d0b5 100755
--- a/examples/clutter-transitions/main.js
+++ b/examples/clutter-transitions/main.js
@@ -66,7 +66,11 @@ function animate()
stage.add_actor(at);
stage.show_all();
- GLib.timeout_add(500, next_transition);
+ //GLib.timeout_add(500, next_transition);
+ trtimeline = new Clutter.Timeline();
+ trtimeline.duration = 500;
+ trtimeline.signal.completed.connect(next_transition);
+ trtimeline.start();
}
animate();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]