aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorJohannes Schickel2014-01-21 19:01:28 +0100
committerJohannes Schickel2014-01-21 19:01:28 +0100
commit4412e12debd77a5cef60054d2ad437a180d00817 (patch)
treeb91ff4e7f2f3a5e15ac07135c22c259ef3975d59 /backends/platform
parent2e93f5aba21beedfba81f2e41601c2174e36d940 (diff)
downloadscummvm-rg350-4412e12debd77a5cef60054d2ad437a180d00817.tar.gz
scummvm-rg350-4412e12debd77a5cef60054d2ad437a180d00817.tar.bz2
scummvm-rg350-4412e12debd77a5cef60054d2ad437a180d00817.zip
BUILD: Rename libunity support variable to "USE_UNITY" instead of "USE_TASKBAR_UNITY".
This makes it consistent with other library support variables.
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/sdl/posix/posix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/sdl/posix/posix.cpp b/backends/platform/sdl/posix/posix.cpp
index 954f404ac6..1752153f29 100644
--- a/backends/platform/sdl/posix/posix.cpp
+++ b/backends/platform/sdl/posix/posix.cpp
@@ -50,7 +50,7 @@ void OSystem_POSIX::init() {
// Initialze File System Factory
_fsFactory = new POSIXFilesystemFactory();
-#if defined(USE_TASKBAR) && defined(USE_TASKBAR_UNITY)
+#if defined(USE_TASKBAR) && defined(USE_UNITY)
// Initialize taskbar manager
_taskbarManager = new UnityTaskbarManager();
#endif
@@ -67,7 +67,7 @@ void OSystem_POSIX::initBackend() {
// Invoke parent implementation of this method
OSystem_SDL::initBackend();
-#if defined(USE_TASKBAR) && defined(USE_TASKBAR_UNITY)
+#if defined(USE_TASKBAR) && defined(USE_UNITY)
// Register the taskbar manager as an event source (this is necessary for the glib event loop to be run)
_eventManager->getEventDispatcher()->registerSource((UnityTaskbarManager *)_taskbarManager, false);
#endif