Adds a bus watch to the default main context with the default priority. This function is used to receive asynchronous messages in the main loop. The watch can be removed using g_source_remove() or by returning FALSE from func. MT safe.
A function to call when a message is received.
The event source id.
See Implementation
Adds a bus watch to the default main context with the default priority. This function is used to receive asynchronous messages in the main loop. The watch can be removed using g_source_remove() or by returning FALSE from func. MT safe.