Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2008-08

gdk 2.4 symbols

5 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Paul Ishenin

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.

gdk 2.6 and gtk 2.4, 2.6 symbols will follow later.

Best regards,
Paul Ishenin.

Reply by email

Michael Van Canneyt
to Paul Ishenin
Paul Ishenin wrote 6 lines
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 ?

Michael.

Reply by email

Paul Ishenin
to Michael Van Canneyt
Michael Van Canneyt wrote 13 lines
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.

Reply by email

Michael Van Canneyt
to Paul Ishenin
Paul Ishenin wrote 25 lines
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.

OK. I'll apply the patch then. Thanks for the explanation.

Michael.

Reply by email