Re: When deprecating, always say what the replacement is.



Am 25.02.2010 18:58, schrieb Dan Winship:
> On 02/25/2010 10:52 AM, Christian Dywan wrote:
>> In this case I don't know what someone would use flags for. If you need
>> to test a value such as visibility or sensitivity, you normally use the
>> specific macros.
> 
> "Deprecated: use the specific macro for the flag you are interested in.
> Eg, GTK_WIDGET_VISIBLE()."


This sounds good (the version is needed though). One option would also be to
have a section "Migrating from Previous Versions of GTK+" and then add a link to
that:

Deprecated: 2.20: Do not use it (see <xref linkend="..." />)

Stefan

> 
> Easy.
> 
> -- Dan
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]