#! /bin/sh /usr/share/dpatch/dpatch-run ## 05_clean_exit.dpatch by Edoardo Batini ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad pythoncad-0.1.35~/PythonCAD/Interface/Gtk/gtkimage.py pythoncad-0.1.35/PythonCAD/Interface/Gtk/gtkimage.py --- pythoncad-0.1.35~/PythonCAD/Interface/Gtk/gtkimage.py 2006-12-09 20:50:09.000000000 +0100 +++ pythoncad-0.1.35/PythonCAD/Interface/Gtk/gtkimage.py 2007-05-05 17:14:46.000000000 +0200 @@ -286,7 +286,7 @@ self.close() for _i in xrange(len(globals.imagelist)): _gimage = globals.imagelist[_i] - if self is _gimage: + if self.__image is _gimage: del globals.imagelist[_i] if not len(globals.imagelist): gtk.main_quit()