Function

Gio-2.0Giobus_unwatch_nameSince 2.26

  • 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.

    Parameters

    • watcher_id: number

      An identifier obtained from g_bus_watch_name()

    Returns void

    2.26