aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-02 21:12:59 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-02 22:12:59 +0100
commitd3896987e913ce4594bbc523394c90a0b0e4b6d8 (patch)
treeac5839a41744ba6d33c26d17e3fbc02dd24d9a67 /src
parent202a6d86edc95c87109b1104cf287b05b1c0e3ed (diff)
downloadayatana-indicator-sound-d3896987e913ce4594bbc523394c90a0b0e4b6d8.tar.gz
ayatana-indicator-sound-d3896987e913ce4594bbc523394c90a0b0e4b6d8.tar.bz2
ayatana-indicator-sound-d3896987e913ce4594bbc523394c90a0b0e4b6d8.zip
Rename HAS_UT_ACCTSERVICE_PRIVACY_SETTINGS
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/accounts-service-user.vala6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 56fe6ba..f886f81 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -12,7 +12,7 @@ endif()
if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.touch.AccountsService.SecurityPrivacy.xml")
set (VALA_FILE_ACCTSERVICE_PRIVACY_SETTINGS "accounts-service-privacy-settings")
- set (VALA_DEFINE_ACCTSERVICE_PRIVACY_SETTINGS "--define=HAS_UT_ACCTSERVICE_PRIVACY_SETTINGS")
+ set (VALA_DEFINE_ACCTSERVICE_PRIVACY_SETTINGS "--define=HAS_LOMIRI_ACCTSERVICE_PRIVACY_SETTINGS")
endif()
if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.touch.AccountsService.Sound.xml")
diff --git a/src/accounts-service-user.vala b/src/accounts-service-user.vala
index caffab9..0679392 100644
--- a/src/accounts-service-user.vala
+++ b/src/accounts-service-user.vala
@@ -23,7 +23,7 @@ public class AccountsServiceUser : Object {
Act.UserManager accounts_manager = Act.UserManager.get_default();
Act.User? user = null;
AccountsServiceSoundSettings? proxy = null;
-#if HAS_UT_ACCTSERVICE_PRIVACY_SETTINGS
+#if HAS_LOMIRI_ACCTSERVICE_PRIVACY_SETTINGS
AccountsServicePrivacySettings? privacyproxy = null;
#endif
#if HAS_LOMIRI_ACCTSERVICE_SYSTEMSOUND_SETTINGS
@@ -149,7 +149,7 @@ public class AccountsServiceUser : Object {
DBusProxyFlags.GET_INVALIDATED_PROPERTIES,
null,
new_sound_proxy);
-#if HAS_UT_ACCTSERVICE_PRIVACY_SETTINGS
+#if HAS_LOMIRI_ACCTSERVICE_PRIVACY_SETTINGS
Bus.get_proxy.begin<AccountsServicePrivacySettings> (
BusType.SYSTEM,
"org.freedesktop.Accounts",
@@ -191,7 +191,7 @@ public class AccountsServiceUser : Object {
}
}
-#if HAS_UT_ACCTSERVICE_PRIVACY_SETTINGS
+#if HAS_LOMIRI_ACCTSERVICE_PRIVACY_SETTINGS
void new_privacy_proxy (GLib.Object? obj, AsyncResult res) {
try {
this.privacyproxy = Bus.get_proxy.end (res);