diff options
author | Robert Tari <robert@tari.in> | 2021-11-02 21:12:59 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-11-02 22:12:59 +0100 |
commit | d3896987e913ce4594bbc523394c90a0b0e4b6d8 (patch) | |
tree | ac5839a41744ba6d33c26d17e3fbc02dd24d9a67 | |
parent | 202a6d86edc95c87109b1104cf287b05b1c0e3ed (diff) | |
download | ayatana-indicator-sound-d3896987e913ce4594bbc523394c90a0b0e4b6d8.tar.gz ayatana-indicator-sound-d3896987e913ce4594bbc523394c90a0b0e4b6d8.tar.bz2 ayatana-indicator-sound-d3896987e913ce4594bbc523394c90a0b0e4b6d8.zip |
Rename HAS_UT_ACCTSERVICE_PRIVACY_SETTINGS
-rw-r--r-- | src/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/accounts-service-user.vala | 6 |
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); |