signal_unsubscribe
Description:
Unsubscribes from signals.
Note that there may still be D-Bus traffic to process (relating to this signal subscription) in the current thread-default MainContext after this function has returned. You should continue to iterate the MainContext until the DestroyNotify function passed to signal_subscribe is called, in order to avoid memory leaks through callbacks queued on the MainContext after it’s stopped being iterated. Alternatively, any idle source with a priority lower than g_priority_default that was scheduled after unsubscription, also indicates that all resources of this subscription are released.
Parameters:
this | |
subscription_id |
a subscription id obtained from signal_subscribe |