summaryrefslogtreecommitdiffstats
path: root/bus/dbusimpl.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/dbusimpl.c')
-rw-r--r--bus/dbusimpl.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/bus/dbusimpl.c b/bus/dbusimpl.c
index 3cc51dc..f51ab96 100644
--- a/bus/dbusimpl.c
+++ b/bus/dbusimpl.c
@@ -829,6 +829,16 @@ _connection_ibus_message_cb (BusConnection *connection,
break;
#endif
#if 0
+ case DBUS_MESSAGE_TYPE_SIGNAL:
+ g_debug ("From :%s to %s, Signal: %s @ %s",
+ ibus_message_get_sender (message),
+ ibus_message_get_destination (message),
+ ibus_message_get_member (message),
+ ibus_message_get_path (message)
+ );
+ break;
+#endif
+#if 0
case DBUS_MESSAGE_TYPE_METHOD_CALL:
g_debug("From %s to %s, Method %s on %s",
ibus_message_get_sender (message),
@@ -1068,10 +1078,9 @@ bus_dbus_impl_dispatch_message_by_rule (BusDBusImpl *dbus,
#endif
for (link = dbus->rules; link != NULL; link = link->next) {
- recipients = bus_match_rule_get_recipients (BUS_MATCH_RULE (link->data),
- message);
- if (recipients != NULL)
- break;
+ GList *list = bus_match_rule_get_recipients (BUS_MATCH_RULE (link->data),
+ message);
+ recipients = g_list_concat (recipients, list);
}
for (link = recipients; link != NULL; link = link->next) {