Re: When deprecating, always say what the replacement is.
- Date: Tue, 23 Feb 2010 19:59:15 +0100
- From: Murray Cumming <murrayc@xxxxxxxxxxx>
- Subject: Re: When deprecating, always say what the replacement is.
On Tue, 2010-02-23 at 19:17 +0100, Javier Jardón wrote:
> 2010/2/23 Murray Cumming <murrayc@xxxxxxxxxxx>:
> > When we deprecate API, please remember to document what the replacement
> > is. People forget this quite often.
> >
> > A small recent example that doesn't do this:
> > http://git.gnome.org/browse/gtk
> > +/commit/?id=bb1824c131f247c2ef64f3c5f8b9ffe3885c9d90
>
> Indeed, the info about the replacements is on the deprecated
> functions/macros documentation (inline comments ;)):
No, "Deprecated: 2.20: Do not use it." is not good enough.
--
murrayc@xxxxxxxxxxx
www.murrayc.com
www.openismus.com
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-devel-list