aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-02-07 16:06:58 +0100
committerBjörn Gustavsson <[email protected]>2012-02-08 15:36:45 +0100
commit3a33f61698ebc831d23db81d04f2f1c1efcb4424 (patch)
tree797df4a04a7dbca4ea2bac70dddf9e96fa622112
parent80f8bf15157984d32323e3bca6d7455158e502d3 (diff)
downloadotp-3a33f61698ebc831d23db81d04f2f1c1efcb4424.tar.gz
otp-3a33f61698ebc831d23db81d04f2f1c1efcb4424.tar.bz2
otp-3a33f61698ebc831d23db81d04f2f1c1efcb4424.zip
Deprecate the gs application
-rw-r--r--lib/gs/doc/src/gs.xml4
-rw-r--r--lib/gs/src/gs.erl2
-rw-r--r--lib/stdlib/src/otp_internal.erl5
3 files changed, 7 insertions, 4 deletions
diff --git a/lib/gs/doc/src/gs.xml b/lib/gs/doc/src/gs.xml
index f2182fc673..c61e8c4938 100644
--- a/lib/gs/doc/src/gs.xml
+++ b/lib/gs/doc/src/gs.xml
@@ -39,9 +39,7 @@
graphical user interface.
</p>
<p>
- GS is not maintained and we plan to deprecate and remove it from
- the distribution as soon as possible, maybe already in the next
- major release (R15).
+ GS is deprecated and will be removed in the R16 release.
</p>
</warning>
<p>The Graphics System, GS, is easy to learn and
diff --git a/lib/gs/src/gs.erl b/lib/gs/src/gs.erl
index 3e9a1c4b8b..5439e65266 100644
--- a/lib/gs/src/gs.erl
+++ b/lib/gs/src/gs.erl
@@ -24,7 +24,7 @@
%%
-module(gs).
-
+-deprecated(module).
%% ----- Exports -----
-export([start/0, stop/0, start/1]).
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index ce918721eb..6e8af0f3f6 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -350,6 +350,11 @@ obsolete_1(ssl, pid, 1) ->
{deprecated,"deprecated (will be removed in R17); is no longer needed"};
obsolete_1(inviso, _, _) ->
{deprecated,"the inviso application has been deprecated and will be removed in R16"};
+
+%% Added in R15B01.
+obsolete_1(gs, _, _) ->
+ {deprecated,"the gs application has been deprecated and will be removed in R16; use the wx application instead"};
+
obsolete_1(_, _, _) ->
no.