~ubuntu-branches/ubuntu/precise/gnome-games/precise-proposed

« back to all changes in this revision

Viewing changes to lightsoff/src/main.js

  • Committer: Package Import Robot
  • Author(s): Rodrigo Moya
  • Date: 2011-05-30 13:32:04 UTC
  • mfrom: (1.3.4)
  • mto: (163.1.3 precise)
  • mto: This revision was merged to the branch mainline in revision 143.
  • Revision ID: package-import@ubuntu.com-20110530133204-celaq1v1dsxc48q1
Tags: upstream-3.0.2
ImportĀ upstreamĀ versionĀ 3.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env seed
2
2
 
 
3
const GLib = imports.gi.GLib;
3
4
GtkClutter = imports.gi.GtkClutter;
4
5
Clutter = imports.gi.Clutter;
5
6
Gtk = imports.gi.Gtk;
6
7
GtkBuilder = imports.gtkbuilder;
7
8
GnomeGamesSupport = imports.gi.GnomeGamesSupport;
8
9
 
9
 
Gtk.init(Seed.argv);
 
10
GLib.set_prgname('lightsoff');
10
11
 
11
12
try
12
13
{
13
 
        GtkClutter.init_with_args(Seed.argv.length, Seed.argv);
 
14
        GtkClutter.init(Seed.argv.length, Seed.argv);
14
15
}
15
16
catch(e)
16
17
{