Port from GObject to GLib
This commit is contained in:
committed by
James Cameron
parent
6730d129cd
commit
13a2282e5e
@@ -1,5 +1,5 @@
|
||||
from gi.repository import Gtk
|
||||
from gi.repository import GObject
|
||||
from gi.repository import GLib
|
||||
|
||||
from sugar3.graphics.toolbarbox import ToolbarBox
|
||||
from sugar3.graphics.progressicon import ProgressIcon
|
||||
@@ -51,7 +51,7 @@ def timeout_cb():
|
||||
return True
|
||||
|
||||
|
||||
GObject.timeout_add(50, timeout_cb)
|
||||
GLib.timeout_add(50, timeout_cb)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user