Commit f923fb33 authored by Marc-Antoine Perennou's avatar Marc-Antoine Perennou Committed by Matthias Clasen
parent e16f8285
#!/usr/bin/env python
import gobject
from gi.repository import GLib
import time
import dbus
......@@ -236,7 +236,7 @@ class TestService(dbus.service.Object):
def return_from_async_wait():
return False
gobject.timeout_add(msec, return_from_async_wait)
GLib.timeout_add(msec, return_from_async_wait)
# ----------------------------------------------------------------------------------------------------
......@@ -295,5 +295,5 @@ if __name__ == '__main__':
obj.frob_props["foo"] = "a frobbed string"
obj.frob_props["PropertyThatWillBeInvalidated"] = "InitialValue"
mainloop = gobject.MainLoop()
mainloop = GLib.MainLoop()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment