mirror of https://github.com/tuhiproject/tuhi.git
dbus: properly return from Listen()
If we don't do the dbus dance for returning a value here, we get a timeout eventually.pull/2/merge
parent
f9756a71ce
commit
5f5ce71aef
|
@ -86,6 +86,7 @@ class TuhiDBusDevice(GObject.Object):
|
|||
|
||||
if methodname == 'Listen':
|
||||
self._listen()
|
||||
invocation.return_value()
|
||||
elif methodname == 'GetJSONData':
|
||||
json = GLib.Variant.new_string(self._json_data(args))
|
||||
invocation.return_value(GLib.Variant.new_tuple(json))
|
||||
|
|
Loading…
Reference in New Issue