summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2008-11-13 17:53:04 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-11-13 17:53:04 +0000
commit2702fe21c1311fce8aceded07499bf0f22927d14 (patch)
treee8ee4a38f231667493c542d0d27f3732ecedb196
parent1141f1daaa10d4c8b224699834831790aa43d8ea (diff)
downloadgjs-2702fe21c1311fce8aceded07499bf0f22927d14.tar.gz
Remove { type } from constructor, not needed any longer
svn path=/trunk/; revision=104
-rw-r--r--examples/webkit.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webkit.js b/examples/webkit.js
index 94f7f960..9ba8a435 100644
--- a/examples/webkit.js
+++ b/examples/webkit.js
@@ -3,7 +3,7 @@ const WebKit = imports.gi.WebKit;
Gtk.init(0, null);
-let win = new Gtk.Window({type: Gtk.WindowType.toplevel });
+let win = new Gtk.Window();
let sw = new Gtk.ScrolledWindow({});
win.add(sw);