diff --git a/birthday_reminder/plugin.py b/birthday_reminder/plugin.py index 2ad8e5c..5e3ecdc 100644 --- a/birthday_reminder/plugin.py +++ b/birthday_reminder/plugin.py @@ -40,7 +40,7 @@ class BirthDayPlugin(GajimPlugin): self.events_handlers = { 'vcard-received': (ged.GUI2, self._vcard_received)} - self.timeout_id = None + self._timeout_id = None self._timeout_id_start = None self.showed_accounts = [] @@ -56,7 +56,7 @@ class BirthDayPlugin(GajimPlugin): def deactivate(self): if self._timeout_id is not None: - GLib.source_remove(self.timeout_id) + GLib.source_remove(self._timeout_id) if self._timeout_id_start is not None: GLib.source_remove(self._timeout_id_start)