aboutsummaryrefslogtreecommitdiff
path: root/backends/taskbar
diff options
context:
space:
mode:
authorLittleboy2011-04-26 16:19:20 -0400
committerJulien2011-06-16 14:23:18 -0400
commit1e3603b9371204c88a60983cbfb61a4adcef0b94 (patch)
tree168124a1f173077ca8cdbc4b19c5f7e25767fe2b /backends/taskbar
parent28aa4f0f33c662b8d0c9273011d43237451b9659 (diff)
downloadscummvm-rg350-1e3603b9371204c88a60983cbfb61a4adcef0b94.tar.gz
scummvm-rg350-1e3603b9371204c88a60983cbfb61a4adcef0b94.tar.bz2
scummvm-rg350-1e3603b9371204c88a60983cbfb61a4adcef0b94.zip
BACKENDS: Add define for Unity-specific taskbar code
Diffstat (limited to 'backends/taskbar')
-rw-r--r--backends/taskbar/unity/unity-taskbar.cpp2
-rw-r--r--backends/taskbar/unity/unity-taskbar.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/taskbar/unity/unity-taskbar.cpp b/backends/taskbar/unity/unity-taskbar.cpp
index 0045a6fdbd..49c56b746d 100644
--- a/backends/taskbar/unity/unity-taskbar.cpp
+++ b/backends/taskbar/unity/unity-taskbar.cpp
@@ -25,7 +25,7 @@
#include "common/scummsys.h"
-#if defined(UNIX) && defined(USE_TASKBAR)
+#if defined(UNIX) && defined(USE_TASKBAR) && defined(USE_TASKBAR_UNITY)
#include "backends/taskbar/unity/unity-taskbar.h"
diff --git a/backends/taskbar/unity/unity-taskbar.h b/backends/taskbar/unity/unity-taskbar.h
index ed40a6507e..9f14b44d8f 100644
--- a/backends/taskbar/unity/unity-taskbar.h
+++ b/backends/taskbar/unity/unity-taskbar.h
@@ -26,7 +26,7 @@
#ifndef BACKEND_UNITY_TASKBAR_H
#define BACKEND_UNITY_TASKBAR_H
-#if defined(UNIX) && defined(USE_TASKBAR)
+#if defined(UNIX) && defined(USE_TASKBAR) && defined(USE_TASKBAR_UNITY)
#include "common/events.h"
#include "common/str.h"