Re: Callback for service changed

Thiago Macieira <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <2394061.yrnru1EFWv@tjmaciei-mobl1>
On Tuesday, 7 May 2019 17:36:03 PDT JH wrote:
> Thanks Lawrence, could you pint me a reference or an example how it
> does in C? All I can find is the Python API, I don't even know which
> message type for C API.

To react to signals, you need to use dbus_connection_add_filter() and make 
sure you return DBUS_HANDLER_RESULT_NOT_YET_HANDLED.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products



_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.