# HG changeset patch # User Sadrul Habib Chowdhury # Date 1189494360 0 # Node ID 184d2fbcb4f0db3322e958002eeef021c5376d59 # Parent c45e06d1901cd37c00c6db44813a73c72f7e822a Apparently, if the row-keys don't have a destructor function, things can go unpredictibly crashy. diff -r c45e06d1901c -r 184d2fbcb4f0 finch/libgnt/pygnt/example/rss/gntrss.py --- a/finch/libgnt/pygnt/example/rss/gntrss.py Fri Sep 07 06:06:15 2007 +0000 +++ b/finch/libgnt/pygnt/example/rss/gntrss.py Tue Sep 11 07:06:00 2007 +0000 @@ -61,6 +61,9 @@ self.parent = parent self.unread = True + def __del__(self): + pass + def remove(self): self.emit('delete', self.parent) if self.unread: diff -r c45e06d1901c -r 184d2fbcb4f0 finch/libgnt/pygnt/test.py --- a/finch/libgnt/pygnt/test.py Fri Sep 07 06:06:15 2007 +0000 +++ b/finch/libgnt/pygnt/test.py Tue Sep 11 07:06:00 2007 +0000 @@ -16,6 +16,9 @@ self.__gobject_init__() self.set_property(type, value) + def __del__(self): + pass + def do_set_property(self, pspec, value): if pspec.name == 'string': self.string = value