[ Version ( since = "2.26" ) ]
public void unwatch_name (uint watcher_id)

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 MainContext after this function has returned. You should continue to iterate the MainContext until the DestroyNotify function passed to g_bus_watch_name is called, in order to avoid memory leaks through callbacks queued on the MainContext after it’s stopped being iterated.



An identifier obtained from g_bus_watch_name

Namespace: GLib.Bus
Package: gio-2.0