Note that there may still be D-Bus traffic to process (relating to watching
and unwatching the name) in the current thread-default GLib.MainContext after
this function has returned. You should continue to iterate the GLib.MainContext
until the GLib.DestroyNotify function passed to g_bus_watch_name() is called, in
order to avoid memory leaks through callbacks queued on the GLib.MainContext
after it’s stopped being iterated.
Stops watching a name.
Note that there may still be D-Bus traffic to process (relating to watching and unwatching the name) in the current thread-default GLib.MainContext after this function has returned. You should continue to iterate the GLib.MainContext until the GLib.DestroyNotify function passed to
g_bus_watch_name()is called, in order to avoid memory leaks through callbacks queued on the GLib.MainContext after it’s stopped being iterated.