def on_up_release(self, eb, ev): if self.m_timeout: GObject.source_remove(self.m_timeout) self.m_timeout = None