Re: Gio::DBus::Connection::emit_signal issue
- From: José Alburquerque <jaalburquerque gmail com>
- To: Aurimas Černius <aurisc4 gmail com>
- Cc: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: Gio::DBus::Connection::emit_signal issue
- Date: Sun, 21 Aug 2011 19:42:26 -0400
On Sun, 2011-08-21 at 22:46 +0300, Aurimas Černius wrote:
> 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.
--
José
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]