DBusNames.unwatchName

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 GDestroyNotify function passed to Bus.watchName is called, in order to avoid memory leaks through callbacks queued on the glib.MainContext after it’s stopped being iterated.

struct DBusNames
static
void
unwatchName
()

Parameters

watcherId uint

An identifier obtained from Bus.watchName

Meta

Since

2.26