summaryrefslogtreecommitdiff
path: root/plugins/unityshell
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2013-07-29 19:17:43 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2013-07-29 19:17:43 +0200
commit384eb10814d63fe0cdf4fdc652443a67f0e9103c (patch)
tree0215613c563bc83a63aaadd8afdaab172c868c91 /plugins/unityshell
parenta23f203e28ac4df57641bf7d8a03104deee2683d (diff)
MultiMonitor: remove the ugly max_num_monitors var, put it inside proper namespace
(bzr r3440.1.13)
Diffstat (limited to 'plugins/unityshell')
-rw-r--r--plugins/unityshell/src/MultiMonitor.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/unityshell/src/MultiMonitor.h b/plugins/unityshell/src/MultiMonitor.h
index e93881334..f647f36dd 100644
--- a/plugins/unityshell/src/MultiMonitor.h
+++ b/plugins/unityshell/src/MultiMonitor.h
@@ -20,6 +20,12 @@
#ifndef MULTIMONITOR_H
#define MULTIMONITOR_H
-const int max_num_monitors = 6;
+namespace unity
+{
+namespace monitors
+{
+const unsigned MAX = 6;
+}
+}
#endif \ No newline at end of file