aboutsummaryrefslogtreecommitdiffstats
path: root/lib/gs/examples/calc2.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gs/examples/calc2.erl')
-rw-r--r--lib/gs/examples/calc2.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/gs/examples/calc2.erl b/lib/gs/examples/calc2.erl
index 0e841397f6..83e1870b7a 100644
--- a/lib/gs/examples/calc2.erl
+++ b/lib/gs/examples/calc2.erl
@@ -24,6 +24,12 @@
%% ------------------------------------------------------------
-module(calc2).
+-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]).
start() ->