[pygobject] PyGI: properly quit cairo-demo
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] PyGI: properly quit cairo-demo
- Date: Fri, 30 Jul 2010 08:32:16 +0000 (UTC)
commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
Author: Paul Bolle <pebolle tiscali nl>
Date: Thu Jul 29 22:55:28 2010 +0200
PyGI: properly quit cairo-demo
Signed-off-by: Paul Bolle <pebolle tiscali nl>
https://bugzilla.gnome.org/show_bug.cgi?id=625619
examples/cairo-demo.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/cairo-demo.py b/examples/cairo-demo.py
index 8420c2f..1c60ea6 100755
--- a/examples/cairo-demo.py
+++ b/examples/cairo-demo.py
@@ -107,7 +107,7 @@ def expose (da, event):
def main():
win = Gtk.Window()
- win.connect('destroy', Gtk.main_quit)
+ win.connect('destroy', lambda w: Gtk.main_quit())
win.set_default_size(450, 550)
drawingarea = Gtk.DrawingArea()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]