aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-03 21:54:40 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-08 12:31:33 +0100
commit240aadeb1ae8dcbf06f618ffb51342f81f7f77db (patch)
tree1af74cf3d51526b261c601c9401fd7b60472374a /src
parentdc87c5b56a3f37b865267d5f2647ee69fef560ff (diff)
downloadayatana-indicator-sound-240aadeb1ae8dcbf06f618ffb51342f81f7f77db.tar.gz
ayatana-indicator-sound-240aadeb1ae8dcbf06f618ffb51342f81f7f77db.tar.bz2
ayatana-indicator-sound-240aadeb1ae8dcbf06f618ffb51342f81f7f77db.zip
Rename HAS_UT_ACCTSERVICE_SOUND_SETTINGS
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/accounts-service-access.vala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b39bf34..37074e0 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -24,7 +24,7 @@ else()
endif()
if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.AccountsService.Sound.xml")
- set (VALA_DEFINE_ACCTSERVICE_SOUND_SETTINGS "--define=HAS_UT_ACCTSERVICE_SOUND_SETTINGS")
+ set (VALA_DEFINE_ACCTSERVICE_SOUND_SETTINGS "--define=HAS_LOMIRI_ACCTSERVICE_SOUND_SETTINGS")
endif()
vapi_gen(accounts-service
diff --git a/src/accounts-service-access.vala b/src/accounts-service-access.vala
index 4287d86..19a27c6 100644
--- a/src/accounts-service-access.vala
+++ b/src/accounts-service-access.vala
@@ -143,7 +143,7 @@ public class AccountsServiceAccess : Object
string user_path;
if (user_path_variant.check_format_string ("(o)", true)) {
user_path_variant.get ("(o)", out user_path);
-#if HAS_UT_ACCTSERVICE_SOUND_SETTINGS
+#if HAS_LOMIRI_ACCTSERVICE_SOUND_SETTINGS
_user_proxy = yield new DBusProxy.for_bus (BusType.SYSTEM, DBusProxyFlags.GET_INVALIDATED_PROPERTIES, null, "org.freedesktop.Accounts", user_path, "com.lomiri.AccountsService.Sound");
#else
_user_proxy = yield new DBusProxy.for_bus (BusType.SYSTEM, DBusProxyFlags.GET_INVALIDATED_PROPERTIES, null, "org.freedesktop.Accounts", user_path, "org.ayatana.AccountsService.Sound");