The only sync call is get_bus() and that doesn't touch the bus in
99.9999% of the times you call it :-)

I realize now, however, that my logic is flawed - I assumed that you can
always just listen for "notify::unity-running", but that signal may have
fired before you ever connect to it (say - if the inspector was used by
a gio module or something). So perhaps a sync call to NameHasOwner is in
order here - it wont be that bad because it's a call to the bus daemon
and not some random process...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/719769

Title:
  inspector's unity_running is not initialized

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to