Hi Christof,
> On Sun, 20 Sep 2015 14:07:58 -0400, Nicolas Jäger wrote:
> > could you try to do something like this :
> >
> > Glib::ustring *sender = 0; // or nullptr
> >
> > ...->signal_subscribe( ..., *sender, ... );
>
> That (predictably) segfaults because it's dereferencing a null
> pointer.
>
>
> Christof
>
well that's what I was expecting...
Last try, look, are you agree with that :
since,
Glib::ustring::ustring()
« Default constructor, which creates an empty string. »
and,
guint Gio::DBus::Connection::signal_subscribe ( const SlotSignal&
slot,
const Glib::ustring& sender = Glib::ustring(),
const Glib::ustring& interface_name = Glib::ustring(),
const Glib::ustring& member = Glib::ustring(),
const Glib::ustring& object_path = Glib::ustring(),
const Glib::ustring& arg0 = Glib::ustring(),
SignalFlags flags = Gio::DBus::SIGNAL_FLAGS_NONE
)
if you do something like :
...->signal_subscribe(slot);
you should have `sender` set to 0. I can't compile anything, I'm building a
toolchain...
honestly that's what I would expecting. Otherwise, it's over my knowledge. Good
luck!
regards,
nicolas
_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list