[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] checker speed ruler
From: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] checker speed ruler |
Date: |
Fri, 16 Aug 2002 19:37:30 +0000 |
User-agent: |
Mutt/1.4i |
On Fri, Aug 16, 2002 at 03:32:16PM -0400, Gary Wong wrote
> On Fri, Aug 16, 2002 at 07:26:34PM +0000, Joern Thyssen wrote:
> > gtk_widget_set_size_request is not in GTK 1.2, so I rewrote it to:
> >
> > #if GTK_CHECK_VERSION(2,0,0)
> > gtk_widget_set_size_request( pwScale, 100, -1 );
> > #else
> > gtk_widget_set_usize ( GTK_WIDGET ( pwScale ), 100, -1 );
> > #endif
>
> Whoops! I forgot about that -- thanks for spotting it.
>
> > I'm not sure what version of GTK introduced
> > gtk_widget_set_size_request?!
>
> All the API changes were in 1.3.x, but it hardly seems worth tracking
> each one individually, so I think your check for 2,0,0 is best.
I think Øystein uses GTK 1.3 for the windows build, so it may be
worthwhile to check if the GTK libs used for the build has it. Unless,
of course, if the deprecated usize also works.
Jørn
--
Joern Thyssen, PhD
Vendsysselgade 3, 3., DK-9000 Aalborg, Denmark
+45 9813 2791 (private) / +45 2077 2689 (mobile) / +45 9633 7036 (work)