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:47:19 +0100
commited47e0fd57235565fe5800cb29d97773ac5c6dc5 (patch)
treeb72003801bb60c3f7a49ab930b2b2d459d225e0c /tests/integration
parent9b7fe562fd8bb40baa524092bfea8d15de41262f (diff)
downloadayatana-indicator-sound-ed47e0fd57235565fe5800cb29d97773ac5c6dc5.tar.gz
ayatana-indicator-sound-ed47e0fd57235565fe5800cb29d97773ac5c6dc5.tar.bz2
ayatana-indicator-sound-ed47e0fd57235565fe5800cb29d97773ac5c6dc5.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")),