From ff404168f70c4661d51d443e711e8242f3854faa Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 12 Apr 2012 12:34:55 +0100 Subject: [PATCH 6/7] dialler: don't connect to delete-event Jonny pointed out that GtkApplication handles this for you. --- examples/client/python/dialler.py | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/client/python/dialler.py b/examples/client/python/dialler.py index 44cd325..7fcf8a3 100755 --- a/examples/client/python/dialler.py +++ b/examples/client/python/dialler.py @@ -57,7 +57,6 @@ class Dialler(Gtk.Application): return self.window = Gtk.Window() - self.window.connect('delete-event', lambda *ignored: self.quit()) self.grid = Gtk.Grid() self.grid.props.margin = 6 self.grid.props.column_spacing = 6 -- 1.7.10