How to use Gio::DBus::Connection::signal_subscribe?



Hi,

I am confused: the documentation for
Gio::DBus::Connection::signal_subscribe mentions:

If the connection is not a message bus connection, sender must be 0.

But how is that supposed to work? "sender" is "const Glib::ustring&"
and if I try to pass in nullptr (or 0) the string constructor
complains about the null pointer.

Am I missing something?


Christof

-- 

http://cmeerw.org                              sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]