gnome-games r8565 - trunk/lightsoff



Author: racarr
Date: Wed Jan 14 21:17:02 2009
New Revision: 8565
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8565&view=rev

Log:
Track some more Seed changes, and a little cleanup.


Modified:
   trunk/lightsoff/arrow.js.in
   trunk/lightsoff/board.js.in
   trunk/lightsoff/light.js.in
   trunk/lightsoff/main.js.in
   trunk/lightsoff/score.js.in

Modified: trunk/lightsoff/arrow.js.in
==============================================================================
--- trunk/lightsoff/arrow.js.in	(original)
+++ trunk/lightsoff/arrow.js.in	Wed Jan 14 21:17:02 2009
@@ -1,7 +1,7 @@
 Arrow = new GType({
 	parent: Clutter.Group.type,
 	name: "Arrow",
-	instance_init: function(klass)
+	init: function(klass)
 	{
 		// Private
 		var direction = 0;

Modified: trunk/lightsoff/board.js.in
==============================================================================
--- trunk/lightsoff/board.js.in	(original)
+++ trunk/lightsoff/board.js.in	Wed Jan 14 21:17:02 2009
@@ -140,7 +140,7 @@
 Board = new GType({
 	parent: Clutter.Group.type,
 	name: "Board",
-	instance_init: function(klass)
+	init: function(klass)
 	{
 		// Global
 		animating_board = false;

Modified: trunk/lightsoff/light.js.in
==============================================================================
--- trunk/lightsoff/light.js.in	(original)
+++ trunk/lightsoff/light.js.in	Wed Jan 14 21:17:02 2009
@@ -15,7 +15,7 @@
 Light = new GType({
 	parent: Clutter.Group.type,
 	name: "Light",
-	instance_init: function(klass)
+	init: function(klass)
 	{
 		// Private
 		var state = false;

Modified: trunk/lightsoff/main.js.in
==============================================================================
--- trunk/lightsoff/main.js.in	(original)
+++ trunk/lightsoff/main.js.in	Wed Jan 14 21:17:02 2009
@@ -23,7 +23,7 @@
 Seed.include('@prefix@'+"/share/gnome-games/lightsoff/board.js");
 Seed.include('@prefix@'+"/share/gnome-games/lightsoff/arrow.js");
 
-var black = Clutter.Color._new();
+var black = new Clutter.Color();
 Clutter.color_parse("Black", black);
 
 var stage = new Clutter.Stage();

Modified: trunk/lightsoff/score.js.in
==============================================================================
--- trunk/lightsoff/score.js.in	(original)
+++ trunk/lightsoff/score.js.in	Wed Jan 14 21:17:02 2009
@@ -8,7 +8,7 @@
 Score = new GType({
 	parent: Clutter.Group.type,
 	name: "Score",
-	instance_init: function(klass)
+	init: function(klass)
 	{
 		// Private
 		var value = 0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]