if (g_strcmp0 (name, "org.freedesktop.DBus") == 0 ||
g_strcmp0 (name, "org.freedesktop.IBus") == 0) {
- name_owner = "org.freedesktop.DBus";
+ name_owner = name;
}
else {
BusConnection *owner = bus_dbus_impl_get_connection_by_name (dbus, name);
{
GDBusMessage *message = g_dbus_message_new_signal ("/org/freedesktop/IBus",
- "org.freedesktop.DBus",
+ "org.freedesktop.IBus",
signal_name);
- g_dbus_message_set_sender (message, "org.freedesktop.DBus");
+ g_dbus_message_set_sender (message, "org.freedesktop.IBus");
if (parameters)
g_dbus_message_set_body (message, parameters);
bus_dbus_impl_dispatch_message_by_rule (BUS_DEFAULT_DBUS, message, NULL);
GDBusMessage *message = g_dbus_message_new_signal (ibus_service_get_object_path ((IBusService *)context),
"org.freedesktop.IBus.InputContext",
signal_name);
- g_dbus_message_set_sender (message, "org.freedesktop.DBus");
+ g_dbus_message_set_sender (message, "org.freedesktop.IBus");
g_dbus_message_set_destination (message, bus_connection_get_unique_name (context->connection));
if (parameters != NULL)
g_dbus_message_set_body (message, parameters);