Hi, > > Hi, > > > > I have issues with Gio::DBus::Connection::emit_signal. > > When I call it this way: > > connection->emit_signal(OBJECT_PATH, INTERFACE_NAME, "Click"); > > > > It doesn't do anything, except priting to conlose > > (server:23353): GLib-GIO-CRITICAL **: g_dbus_connection_emit_signal: > > assertion `destination_bus_name == NULL || g_dbus_is_name > > (destination_bus_name)' failed > > > > > > If I replace the line with > > g_dbus_connection_emit_signal(connection->gobj(), NULL, OBJECT_PATH, > > INTERFACE_NAME, "Click", NULL, NULL); > > > > everything work fine. > > > > Am I misunderstanding something, or is it a bug? > > I'm pretty sure that the following commit addressed this possible bug: > > http://git.gnome.org/browse/glibmm/commit/?id=383d92d5647457593114cb1028cc7e8663ed5c71 > > glibmm-2.28.2 includes this change so, hopefully, this should not happen > in any versions including that one or later. But there might still be a > bug and if that's the case, as already said, it would help to have a bug > filed. I'm using Fedora 15 and it has 2.28.1 and commit does explain it. Thanks. -- Aurimas
Attachment:
signature.asc
Description: This is a digitally signed message part