Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
https://bugzilla.gnome.org/show_bug.cgi?id=685608
#!/usr/bin/env python
-import gobject
+from gi.repository import GLib
import time
import dbus
def return_from_async_wait():
return_cb()
return False
- gobject.timeout_add(msec, return_from_async_wait)
+ GLib.timeout_add(msec, return_from_async_wait)
# ----------------------------------------------------------------------------------------------------
obj.frob_props["foo"] = "a frobbed string"
obj.frob_props["PropertyThatWillBeInvalidated"] = "InitialValue"
- mainloop = gobject.MainLoop()
+ mainloop = GLib.MainLoop()
mainloop.run()