[fpc-devel] BUG: gtk2 unit and GtkFileChooserDialog

Federico Lox Lucignano federico.lox at gmail.com
Thu Jun 9 16:51:27 CEST 2005

>Mattias Gaertner wrote:
>I see no problem with that.

Well the problem is that you cannot find a word about this "setting" in any 
readme or web-page, the problem is that someone that doesn't know about it 
could loose hours trying to find why GtkFileChooserDialog is unavailable 
although there's an entire array of files with it's name.

After I've found the "guilty" $define GTK2_2 I've started to wonder if there 
are other "hidden" settings like this one in the other units. O_o ( okok I'm 
starting to be a bit obsessed :-D )

> That is not possible. The gtk2 unit is already delivered precompiled with
> a release. So it can't detect the gtk version installed at your machine.
> The only possible solution i see is to add multiple units gtk2_2, gtk2_4
> and gtk2_6 that provide the functions for each gtk release. But that needs
> to be decided with the original gtk2 for pascal maintainers.

Sorry, I'm not talking about the binary release, I'm talking about the sources 
available through both the website and Subversion ;-)


Federico Lucignano

e-mail personale: federico at alchimiedigitali.net

More information about the fpc-devel mailing list