mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-19 07:00:03 -05:00
treewide: Use DBus defines instead of direct string literals
While cleaning up the BlueZ counterpart of strings defined in preprocessor macros it is only consistent to take care of all DBUS_ macros as a whole. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/477>
This commit is contained in:
parent
670f585530
commit
537bf3cf8e
11 changed files with 61 additions and 59 deletions
|
|
@ -90,7 +90,7 @@ static DBusHandlerResult filter_handler(
|
|||
m = userdata;
|
||||
assert(m->ref >= 1);
|
||||
|
||||
if (dbus_message_is_signal(s, "org.freedesktop.DBus", "NameOwnerChanged")) {
|
||||
if (dbus_message_is_signal(s, DBUS_INTERFACE_DBUS, "NameOwnerChanged")) {
|
||||
const char *name, *old, *new;
|
||||
|
||||
if (!dbus_message_get_args(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue