seed r510 - trunk/examples/lightsoff
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r510 - trunk/examples/lightsoff
- Date: Sat, 20 Dec 2008 04:32:41 +0000 (UTC)
Author: racarr
Date: Sat Dec 20 04:32:41 2008
New Revision: 510
URL: http://svn.gnome.org/viewvc/seed?rev=510&view=rev
Log:
Make lightsoff wrap quit in an anonymous function as introspection now throws a
GInvoke error if we pass too many arguments.
Modified:
trunk/examples/lightsoff/main.js
Modified: trunk/examples/lightsoff/main.js
==============================================================================
--- trunk/examples/lightsoff/main.js (original)
+++ trunk/examples/lightsoff/main.js Sat Dec 20 04:32:41 2008
@@ -29,7 +29,7 @@
Clutter.color_parse("Black", black);
var stage = new Clutter.Stage();
-stage.signal.hide.connect(Clutter.main_quit);
+stage.signal.hide.connect(function(){Clutter.main_quit()});
stage.color = black;
score = new Score();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]