DBusConnection.signalUnsubscribe

Unsubscribes from signals.

Note that there may still be D-Bus traffic to process (relating to this signal subscription) 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 g_dbus_connection_signal_subscribe() is called, in order to avoid memory leaks through callbacks queued on the glib.MainContext after it’s stopped being iterated.

class DBusConnection
void
signalUnsubscribe

Parameters

subscriptionId uint

a subscription id obtained from g_dbus_connection_signal_subscribe()

Meta

Since

2.26