# HG changeset patch # User Sadrul Habib Chowdhury # Date 1189494652 0 # Node ID 44b070f6a3f87f3b5ae6168dbb45f45db9534ae5 # Parent 6d04b27c7f53eca87d414dcdfc8b72ab5f67811a Apparently, if the row-keys don't have a destructor function, things can go unpredictibly crashy. diff -r 6d04b27c7f53 -r 44b070f6a3f8 finch/libgnt/pygnt/example/rss/gntrss.py --- a/finch/libgnt/pygnt/example/rss/gntrss.py Mon Sep 10 17:28:32 2007 +0000 +++ b/finch/libgnt/pygnt/example/rss/gntrss.py Tue Sep 11 07:10:52 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 6d04b27c7f53 -r 44b070f6a3f8 finch/libgnt/pygnt/test.py --- a/finch/libgnt/pygnt/test.py Mon Sep 10 17:28:32 2007 +0000 +++ b/finch/libgnt/pygnt/test.py Tue Sep 11 07:10:52 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