Hi Christof, > Well yes, sure - the string constructor (that converts from a const > char *) is complaining about the null pointer. > > > have you try to do : > > > > Glib::ustring sender; > > > > ...->signal_subscribe( ..., sender, ... ); > > > > > > or just let the paramater not set, > > > > ...->signal_subscribe( ..., , ... ); > > but both of these options would map to empty strings (and therefore > don't work).
did you try ? I can't try, I'm working on something... if that don't work, I have no idea... > > Looking at > https://developer.gnome.org/gio/unstable/GDBusConnection.html#g-dbus-connection-signal-subscribe > it should map to a NULL pointer in the C interface, but that doesn't > seem to be possible. your link point to the unstable doc, are you doing C++ or C ? gtkmm page is : https://developer.gnome.org/glibmm/stable/classGio_1_1DBus_1_1Connection.html#af981fb48982bce9d4a27f70127df1cb5 you can just compare C API and C++ API. regards, Nicolas J. _______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list
