Re: reminder - don't base 2.4 work on gtk 2.3
- From: Alan Cox <alan redhat com>
 
- To: iain prettypeople org (iain)
 
- Cc: mark skynet ie (Mark McLoughlin), gnome-hackers gnome org,	desktop-devel-list gnome org
 
- Subject: Re: reminder - don't base 2.4 work on gtk 2.3
 
- Date: Fri, 28 Feb 2003 08:09:41 -0500 (EST)
 
> I'm thinking mainly of the gtk_idle and gtk_timeout functions and some
> gdkpixbuf drawing routines.
With newer gcc you can help people out here. The Linux kernel uses
/*
 * Allow us to mark functions as 'deprecated' and have gcc emit a nice
 * warning for each use, in hopes of speeding the functions removal.
 * Usage is:
 *              int __deprecated foo(void)
 */
#if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3
#define __deprecated    __attribute__((deprecated))
#else
#define __deprecated
#endif
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]