aboutsummaryrefslogtreecommitdiffstats
path: root/lib/gs/contribs/cols
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-02-08 15:11:52 +0100
committerBjörn Gustavsson <[email protected]>2012-02-08 17:09:32 +0100
commit1173bf951a8ebb532dfb4214d297fd69b76ec9d8 (patch)
tree0ecaef72e9835c10a7aa92efb57e1362c0ca72f4 /lib/gs/contribs/cols
parent3a33f61698ebc831d23db81d04f2f1c1efcb4424 (diff)
downloadotp-1173bf951a8ebb532dfb4214d297fd69b76ec9d8.tar.gz
otp-1173bf951a8ebb532dfb4214d297fd69b76ec9d8.tar.bz2
otp-1173bf951a8ebb532dfb4214d297fd69b76ec9d8.zip
Suppress deprecated warnings in all modules that call 'gs'
Diffstat (limited to 'lib/gs/contribs/cols')
-rw-r--r--lib/gs/contribs/cols/cols.erl6
-rw-r--r--lib/gs/contribs/cols/highscore.erl7
2 files changed, 13 insertions, 0 deletions
diff --git a/lib/gs/contribs/cols/cols.erl b/lib/gs/contribs/cols/cols.erl
index 111c9a58f1..9c44837f3e 100644
--- a/lib/gs/contribs/cols/cols.erl
+++ b/lib/gs/contribs/cols/cols.erl
@@ -19,6 +19,12 @@
%%
-module(cols).
+-compile([{nowarn_deprecated_function,{gs,config,2}},
+ {nowarn_deprecated_function,{gs,create,3}},
+ {nowarn_deprecated_function,{gs,create,4}},
+ {nowarn_deprecated_function,{gs,destroy,1}},
+ {nowarn_deprecated_function,{gs,read,2}},
+ {nowarn_deprecated_function,{gs,start,0}}]).
-export([start/0, init/0]).
diff --git a/lib/gs/contribs/cols/highscore.erl b/lib/gs/contribs/cols/highscore.erl
index 9ffbea50a7..8f984aaa83 100644
--- a/lib/gs/contribs/cols/highscore.erl
+++ b/lib/gs/contribs/cols/highscore.erl
@@ -19,6 +19,13 @@
%%
-module(highscore).
+-compile([{nowarn_deprecated_function,{gs,button,2}},
+ {nowarn_deprecated_function,{gs,create,3}},
+ {nowarn_deprecated_function,{gs,destroy,1}},
+ {nowarn_deprecated_function,{gs,grid,2}},
+ {nowarn_deprecated_function,{gs,read,2}},
+ {nowarn_deprecated_function,{gs,start,0}},
+ {nowarn_deprecated_function,{gs,window,2}}]).
-export([run/2]).