diff options
author | Björn Gustavsson <[email protected]> | 2012-02-09 08:59:27 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-02-09 08:59:27 +0100 |
commit | 4b222f0a5c4b90b99cdfae8b9409ef7f10fdb160 (patch) | |
tree | fb58764246e1ae9b29babc52be0a28c20c83389e /lib/gs/examples/calc.erl | |
parent | 6004ec3e1785913ff0b74054cf614a35c180d54a (diff) | |
parent | 0fd29d5305952450b8b0d0172994b24af07aba88 (diff) | |
download | otp-4b222f0a5c4b90b99cdfae8b9409ef7f10fdb160.tar.gz otp-4b222f0a5c4b90b99cdfae8b9409ef7f10fdb160.tar.bz2 otp-4b222f0a5c4b90b99cdfae8b9409ef7f10fdb160.zip |
Merge branch 'bjorn/deprecations/OTP-9907' into maint
* bjorn/deprecations/OTP-9907:
Deprecate the Toolbar application
Deprecate applications that have been superseded by observer
Suppress deprecated warnings in all modules that call 'gs'
Deprecate the gs application
Mark doc_builder as removed (and not merely deprecated)
Diffstat (limited to 'lib/gs/examples/calc.erl')
-rw-r--r-- | lib/gs/examples/calc.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gs/examples/calc.erl b/lib/gs/examples/calc.erl index 992b8adb4e..ca29ae1cb9 100644 --- a/lib/gs/examples/calc.erl +++ b/lib/gs/examples/calc.erl @@ -23,6 +23,11 @@ %% ------------------------------------------------------------ -module(calc). +-compile([{nowarn_deprecated_function,{gs,button,2}}, + {nowarn_deprecated_function,{gs,config,2}}, + {nowarn_deprecated_function,{gs,label,2}}, + {nowarn_deprecated_function,{gs,start,0}}, + {nowarn_deprecated_function,{gs,window,2}}]). -export([start/0,calc/0]). |