diff options
author | Johan Dahlin <johan@src.gnome.org> | 2008-11-13 17:53:04 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-11-13 17:53:04 +0000 |
commit | 2702fe21c1311fce8aceded07499bf0f22927d14 (patch) | |
tree | e8ee4a38f231667493c542d0d27f3732ecedb196 | |
parent | 1141f1daaa10d4c8b224699834831790aa43d8ea (diff) | |
download | gjs-2702fe21c1311fce8aceded07499bf0f22927d14.tar.gz |
Remove { type } from constructor, not needed any longer
svn path=/trunk/; revision=104
-rw-r--r-- | examples/webkit.js | 2 |
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); |