aboutsummaryrefslogtreecommitdiffstats
path: root/lib/gs/examples/calc.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gs/examples/calc.erl')
-rw-r--r--lib/gs/examples/calc.erl5
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]).