suppress warning for not registered signal

This commit is contained in:
Dimitur Kirov 2006-04-19 12:21:06 +00:00
parent 178c2aec15
commit 482ea2fed0
1 changed files with 2 additions and 1 deletions

View File

@ -135,6 +135,7 @@ class ConversationTextview:
def del_handlers(self): def del_handlers(self):
for i in self.handlers.keys(): for i in self.handlers.keys():
if self.handlers[i].handler_is_connected(i):
self.handlers[i].disconnect(i) self.handlers[i].disconnect(i)
del self.handlers del self.handlers
self.tv.destroy() self.tv.destroy()