From 3a33f61698ebc831d23db81d04f2f1c1efcb4424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Tue, 7 Feb 2012 16:06:58 +0100 Subject: Deprecate the gs application --- lib/gs/doc/src/gs.xml | 4 +--- lib/gs/src/gs.erl | 2 +- lib/stdlib/src/otp_internal.erl | 5 +++++ 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'lib') 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.

- 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.

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. -- cgit v1.2.3