diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-24 19:35:11 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-24 19:35:11 +0000 |
commit | e8bf15b23a2a9c5b19ef25fb553006a41379bf7c (patch) | |
tree | 074ce3ddd02c11563a95f78f3ce9f4f40cb139c4 /bus/policy.c | |
parent | c9cd648f115759176d35508e9007dc5520a0dd3f (diff) | |
download | dbus-e8bf15b23a2a9c5b19ef25fb553006a41379bf7c.tar.gz |
2003-04-24 Havoc Pennington <hp@redhat.com>
* dbus/dbus-message.c (dbus_message_name_is): rename
(dbus_message_service_is): rename
(dbus_message_sender_is): rename
(dbus_message_get_service): rename
Diffstat (limited to 'bus/policy.c')
-rw-r--r-- | bus/policy.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bus/policy.c b/bus/policy.c index 7d9b4b76..0a002a8c 100644 --- a/bus/policy.c +++ b/bus/policy.c @@ -693,8 +693,8 @@ bus_client_policy_check_can_send (BusClientPolicy *policy, if (rule->d.send.message_name != NULL) { - if (!dbus_message_name_is (message, - rule->d.send.message_name)) + if (!dbus_message_has_name (message, + rule->d.send.message_name)) continue; } @@ -707,8 +707,8 @@ bus_client_policy_check_can_send (BusClientPolicy *policy, */ if (receiver == NULL) { - if (!dbus_message_sender_is (message, - rule->d.send.destination)) + if (!dbus_message_has_sender (message, + rule->d.send.destination)) continue; } else @@ -765,8 +765,8 @@ bus_client_policy_check_can_receive (BusClientPolicy *policy, if (rule->d.receive.message_name != NULL) { - if (!dbus_message_name_is (message, - rule->d.receive.message_name)) + if (!dbus_message_has_name (message, + rule->d.receive.message_name)) continue; } @@ -779,8 +779,8 @@ bus_client_policy_check_can_receive (BusClientPolicy *policy, */ if (sender == NULL) { - if (!dbus_message_sender_is (message, - rule->d.receive.origin)) + if (!dbus_message_has_sender (message, + rule->d.receive.origin)) continue; } else |