Port from GObject to GLib

This commit is contained in:
Rahul Bothra
2018-07-25 00:30:25 +05:30
committed by James Cameron
parent 6730d129cd
commit 13a2282e5e
23 changed files with 153 additions and 149 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ class Animator(GObject.GObject):
if self._timeout_sid and \
not hasattr(self._widget, 'add_tick_callback'):
GObject.source_remove(self._timeout_sid)
GLib.source_remove(self._timeout_sid)
self._timeout_sid = 0
self.emit('completed')
if self._timeout_sid and hasattr(self._widget, 'add_tick_callback'):