Tue, 11 Sep 2007 07:06:00 +0000
Apparently, if the row-keys don't have a destructor function, things can go
unpredictibly crashy.
| finch/libgnt/pygnt/example/rss/gntrss.py | file | annotate | diff | comparison | revisions | |
| finch/libgnt/pygnt/test.py | file | annotate | diff | comparison | revisions |
--- 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:
--- 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