summaryrefslogtreecommitdiff
path: root/plugins/unityshell
diff options
authorMarco Trevisan (TreviƱo) <mail@3v1n0.net>2013-07-31 10:07:12 +0000
committerTarmac <>2013-07-31 10:07:12 +0000
commitab7b0ebc1d30fbec3ffa50277e1b101b877a74c0 (patch)
tree66033672afa56c95c65e2cf2c2a5680e4ba2e388 /plugins/unityshell
parentdc054be28fcf7d5d8900bef4bd48759786e7523f (diff)
parent384eb10814d63fe0cdf4fdc652443a67f0e9103c (diff)
MultiMonitor: remove the ugly max_num_monitors var, put it inside proper namespace.
Approved by PS Jenkins bot, Brandon Schaefer. (bzr r3447)
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