aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
-rw-r--r--src/rotation-lock.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index eb736c8..5066cbd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,7 +1,7 @@
add_definitions(-DG_LOG_DOMAIN="${CMAKE_PROJECT_NAME}")
-if(EXISTS "/usr/share/glib-2.0/schemas/com.ubuntu.sound.gschema.xml")
- add_definitions( -DHAS_UBUNTU_TOUCH_SCHEMA )
+if(EXISTS "/usr/share/glib-2.0/schemas/com.lomiri.touch.system.gschema.xml")
+ add_definitions( -DHAS_LOMIRI_TOUCH_SCHEMA )
endif()
add_compile_options(
diff --git a/src/rotation-lock.cpp b/src/rotation-lock.cpp
index f671c4c..a794dd2 100644
--- a/src/rotation-lock.cpp
+++ b/src/rotation-lock.cpp
@@ -195,8 +195,8 @@ private:
****
***/
-#ifdef HAS_UBUNTU_TOUCH_SCHEMA
- static constexpr char const * m_schema_name {"com.ubuntu.touch.system"};
+#ifdef HAS_LOMIRI_TOUCH_SCHEMA
+ static constexpr char const * m_schema_name {"com.lomiri.touch.system"};
#else
static constexpr char const * m_schema_name {"org.ayatana.indicator.display"};
#endif