aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-03 21:10:43 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-08 09:02:06 +0100
commit45c279316fe33302d1348ef91a5851643c207f64 (patch)
treebfccd1d744494c460fdb451d32131e19da7fa9a4 /tests
parent099ce0e931646aae11ab086b94d15f2a1414c797 (diff)
downloadayatana-indicator-sound-45c279316fe33302d1348ef91a5851643c207f64.tar.gz
ayatana-indicator-sound-45c279316fe33302d1348ef91a5851643c207f64.tar.bz2
ayatana-indicator-sound-45c279316fe33302d1348ef91a5851643c207f64.zip
Rename HAS_UBUNTU_SOUND_SCHEMA
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt2
-rw-r--r--tests/integration/indicator-sound-test-base.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 9a80bdd..75dab34 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -35,7 +35,7 @@ set (XDG_DATA_DIRS "${CMAKE_CURRENT_BINARY_DIR}/gsettings-schemas")
set (SCHEMA_DIR "${XDG_DATA_DIRS}/glib-2.0/schemas")
if (EXISTS /usr/share/glib-2.0/schemas/com.lomiri.sound.gschema.xml)
set (SOUND_SCHEMA /usr/share/glib-2.0/schemas/com.lomiri.sound.gschema.xml)
- add_definitions ( -DHAS_UBUNTU_SOUND_SCHEMA )
+ add_definitions ( -DHAS_LOMIRI_SOUND_SCHEMA )
else()
set (SOUND_SCHEMA ${CMAKE_SOURCE_DIR}/data/org.ayatana.sound.gschema.xml)
endif()
diff --git a/tests/integration/indicator-sound-test-base.cpp b/tests/integration/indicator-sound-test-base.cpp
index 869139b..5812a04 100644
--- a/tests/integration/indicator-sound-test-base.cpp
+++ b/tests/integration/indicator-sound-test-base.cpp
@@ -183,7 +183,7 @@ bool IndicatorSoundTestBase::resetAllowAmplifiedVolume()
proc.start("gsettings", QStringList()
<< "reset"
-#ifdef HAS_UBUNTU_SOUND_SCHEMA
+#ifdef HAS_LOMIRI_SOUND_SCHEMA
<< "com.lomiri.sound"
#else
<< "org.ayatana.sound"