Skip to content

Commit

Permalink
Reduce num swearing/line
Browse files Browse the repository at this point in the history
  • Loading branch information
nzjrs committed Jun 10, 2010
1 parent f268075 commit 1fd910e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/mapviewer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/seed

// You probbably need to tell GObject introspection where to find the bindings
// export LD_LIBRARY_PATH=../src/.lib/
// export LD_LIBRARY_PATH=../src/.libs/
// export GI_TYPELIB_PATH=../src/

const Gtk = imports.gi.Gtk;
Expand All @@ -13,13 +13,13 @@ var win = new Gtk.Window({ type: Gtk.WindowType.TOPLEVEL });
win.set_border_width(10);
win.set_default_size(400,400);

// Fuck you GNOME
// ARRRGGGHHHHH GNOME
if (0)
// GJS makes me do this
win.connect("delete-event", Gtk.main_quit);
win.connect("delete-event", Gtk.main_quit);
else
// Seed makes me do this
win.signal.delete_event.connect(Gtk.main_quit);
// Seed makes me do this
win.signal.delete_event.connect(Gtk.main_quit);

var map = new Osm.OsmGpsMap()
var osd = new Osm.Osd()
Expand Down

0 comments on commit 1fd910e

Please sign in to comment.