denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] gtk-3 branch


From: Richard Shann
Subject: Re: [Denemo-devel] gtk-3 branch
Date: Tue, 29 Nov 2011 18:13:20 +0000

On Tue, 2011-11-29 at 08:43 -0600, Jeremiah Benham wrote:
> Does this apply to all code incased in GTK_CHECK_VERSION or 
> GTK_MAJOR_VERSION, or does this apply to commonly recurring gtk 
> functions like gtk_adjustment() (or whatever it is called). 

For commonly recurring things it makes sense to collect the  conditional
(#if GTK_MAJOR_VERSION==3) code to appear just once (often in a header).
No point for one-off things.
 I think GTK_CHECK_VERSION is a case in point - I don't think it is
defined in gtk2, so it would be good to dig its code out of gtk3 and
define it for the case GTK_MAJOR_VERSION<3.

Richard



































f




reply via email to

[Prev in Thread] Current Thread [Next in Thread]