Gio::DBus::Connection::emit_signal issue



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?

-- 
Aurimas

Attachment: signature.asc
Description: This is a digitally signed message part



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