[Lazarus] Suggestion again: remove GTK1 from IDE and LCL
Michael Schnell
mschnell at lumino.de
Wed Jun 2 17:23:45 CEST 2010
On 06/02/2010 04:04 PM, Paul Ishenin wrote:
>
> 1. split gtk1 and gtk2 code so any change in gtk1 code can make no
> harm to gtk2 interface
There seems to be a lot of code used/usable by both interfaces.
Maintenance should be a lot easier if the common stuff is not
duplicated, so is might even be sensible to extract common parts that
already exist twice into commonly used files via functions, procedures,
inheritance or include files. So there should be one ore more directory
for the common stuff. There will be common stuff that really is
dedicated to both GTK1 and GTK2, so this should be in a directory with
"gtk" in the name, There also will be some stuff that is not really
specific to gtk1/2, but used /usable for other existing (removing some
duplicated code there might be sensible) or future interfaces. Such code
should go into a directory without gtk in the name.
-Michael
More information about the Lazarus
mailing list