mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-17 06:59:56 -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
|
|
@ -158,7 +158,7 @@ static DBusHandlerResult disconnection_filter_cb(DBusConnection *connection, DBu
|
|||
pa_assert(message);
|
||||
pa_assert(c);
|
||||
|
||||
if (dbus_message_is_signal(message, "org.freedesktop.DBus.Local", "Disconnected")) {
|
||||
if (dbus_message_is_signal(message, DBUS_INTERFACE_LOCAL, "Disconnected")) {
|
||||
/* The connection died. Now we want to free the connection object, but
|
||||
* let's wait until this message is fully processed, in case someone
|
||||
* else is interested in this signal too. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue