seed r473 - trunk/examples/lightsoff
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r473 - trunk/examples/lightsoff
- Date: Mon, 15 Dec 2008 08:32:19 +0000 (UTC)
Author: racarr
Date: Mon Dec 15 08:32:18 2008
New Revision: 473
URL: http://svn.gnome.org/viewvc/seed?rev=473&view=rev
Log:
Update lightsoff to new changes.
Modified:
trunk/examples/lightsoff/board.js
trunk/examples/lightsoff/light.js
Modified: trunk/examples/lightsoff/board.js
==============================================================================
--- trunk/examples/lightsoff/board.js (original)
+++ trunk/examples/lightsoff/board.js Mon Dec 15 08:32:18 2008
@@ -58,7 +58,7 @@
-(sign)*(direction * board_size),
-(sign)*((!direction) * board_size));
- remove_timeline.signal.completed.connect(delete_board, null, board);
+ remove_timeline.signal.completed.connect(delete_board, board);
animating_board = true;
fadeline.start();
@@ -83,7 +83,7 @@
Clutter.effect_fade(effect, new_board, 255);
Clutter.effect_fade(effect, board, 0);
- remove_timeline.signal.completed.connect(delete_board, null, board);
+ remove_timeline.signal.completed.connect(delete_board, board);
animating_board = true;
fadeline.start();
@@ -129,7 +129,7 @@
fadeline.start();
in_fade = true;
- fadeline.signal.completed.connect(check_won, null, light);
+ fadeline.signal.completed.connect(check_won, light);
return true;
}
Modified: trunk/examples/lightsoff/light.js
==============================================================================
--- trunk/examples/lightsoff/light.js (original)
+++ trunk/examples/lightsoff/light.js Mon Dec 15 08:32:18 2008
@@ -56,8 +56,8 @@
this.set_anchor_point(tile_size / 2, tile_size / 2);
- this.on.signal.button_press_event.connect(flip_region, null, this);
- this.off.signal.button_press_event.connect(flip_region, null, this);
+ this.on.signal.button_press_event.connect(flip_region, this);
+ this.off.signal.button_press_event.connect(flip_region, this);
this.add_actor(this.off);
this.add_actor(this.on);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]