[seed] Fix no longer useful Gtk.main_quit hack in json-packing.js



commit fadefee25906b2097849416c295a8bdebdf83eb5
Author: Robert Carr <racarr svn gnome org>
Date:   Tue Apr 28 16:02:21 2009 -0400

    Fix no longer useful Gtk.main_quit hack in json-packing.js
---
 examples/json-packing.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/examples/json-packing.js b/examples/json-packing.js
index 678142c..5e3e826 100755
--- a/examples/json-packing.js
+++ b/examples/json-packing.js
@@ -27,7 +27,7 @@ var packing = [
 ];
 
 window = new Gtk.Window();
-window.signal.hide.connect(function () { Gtk.main_quit(); });
+window.signal.hide.connect(Gtk.main_quit);
 vbox = new Gtk.VBox();
 
 vbox.pack(packing);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]