[seed] [cairo] Quit when floating window is closed
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [seed] [cairo] Quit when floating window is closed
- Date: Mon, 10 Aug 2009 09:10:31 +0000 (UTC)
commit f2ff30b4f37423adbeefe5895d0214974c576d3a
Author: Tim Horton <hortont424 gmail com>
Date: Mon Aug 10 08:29:51 2009 -0800
[cairo] Quit when floating window is closed
examples/cairo.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/examples/cairo.js b/examples/cairo.js
index 2c1697c..55a16c8 100755
--- a/examples/cairo.js
+++ b/examples/cairo.js
@@ -28,6 +28,7 @@ function draw_arc(drawing_area){
Gtk.init(Seed.argv);
var w = new Gtk.Window();
+w.signal.hide.connect(Gtk.main_quit);
var d = new Gtk.DrawingArea();
w.add(d);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]