Michael Van Canneyt wrote:
On Wed, 13 Aug 2008, Paul Ishenin wrote:
Hello, FPC developers' list
Here is the patch wich:
- adds missed gdk 2.4 symbols
Please apply a patch and add gdkspawn.inc to the trunk and the fixes branch.
Before I do this, should there not be some conditional define to select the
GTK/GDK version ?
Initially there was no defined for gdk symbols in the fpc package but
there was for gtk. I followed that rule (since it is not mine package)
and added defines only for gtk. But as we considered before (some
lazarus and fp devels) minimal fpc/lazarus gtk/gdk requirement is 2.6
version. So there was no need for that conditions even in gtk bindings
(thats why Ales has been surprised thought they can not harm). And as I
understand if symbol is not used in the program it will not be included
in the resulting executable. So in theory we can include even the most
recent gtk/gdk symbols without any harm to applications. But in order to
protect devels from ocasional usage of symbols from higher versions
(2.8+) Ales creates gtkext package.
Best regards,
Paul Ishenin.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel