aboutsummaryrefslogtreecommitdiff
path: root/tests/integration
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 /tests/integration
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 'tests/integration')
-rw-r--r--tests/integration/CMakeLists.txt2
-rw-r--r--tests/integration/utils/dbus-pulse-volume.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/CMakeLists.txt b/tests/integration/CMakeLists.txt
index eef04f2..8193341 100644
--- a/tests/integration/CMakeLists.txt
+++ b/tests/integration/CMakeLists.txt
@@ -38,7 +38,7 @@ add_definitions(-DSOUND_SERVICE_BIN="${CMAKE_BINARY_DIR}/src/ayatana-indicator-s
)
if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.AccountsService.Sound.xml")
- add_definitions(-DHAS_UT_ACCTSERVICE_SOUND_SETTINGS)
+ add_definitions(-DHAS_LOMIRI_ACCTSERVICE_SOUND_SETTINGS)
endif()
set(GLIB_REQUIRED_VERSION 2.26)
diff --git a/tests/integration/utils/dbus-pulse-volume.cpp b/tests/integration/utils/dbus-pulse-volume.cpp
index b99a509..2338de1 100644
--- a/tests/integration/utils/dbus-pulse-volume.cpp
+++ b/tests/integration/utils/dbus-pulse-volume.cpp
@@ -140,7 +140,7 @@ bool DBusPulseVolume::setVolume(QString const & role, double volume)
{
QDBusVariant dbusVar(QVariant::fromValue(volume));
QDBusReply<void> set_vol = accounts_interface_->call(QLatin1String("Set"),
-#ifdef HAS_UT_ACCTSERVICE_SOUND_SETTINGS
+#ifdef HAS_LOMIRI_ACCTSERVICE_SOUND_SETTINGS
QVariant::fromValue(QString("com.lomiri.AccountsService.Sound")),
#else
QVariant::fromValue(QString("org.ayatana.AccountsService.Sound")),