Replaced deprecated GObject methods with GLib methods

This commit is contained in:
William Orr
2013-05-06 12:18:10 -04:00
committed by Daniel Narvaez
parent 3a8760c9e4
commit e649070aa2
6 changed files with 13 additions and 10 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ Test the sugar3.graphics.progressicon.ProgressIcon widget.
"""
from gi.repository import GObject
from gi.repository import GLib
from sugar3.graphics.progressicon import ProgressIcon
from sugar3.graphics import style
@@ -59,7 +59,7 @@ def timeout_cb():
return False
return True
GObject.timeout_add(50, timeout_cb)
GLib.timeout_add(50, timeout_cb)
if __name__ == '__main__':
common.main(test)