On Tue, 9 May 2006 01:21:20 +0200
[EMAIL PROTECTED] wrote:
> Trying to build GTK2 LCL with last subversion (9255) I get an error when
> compiling gtkproc.pp: in gtkproc.inc
> identifier not found: XA_CARDINAL
>
> Looking at the code, it turns out that Xatom (where XA_CARDINAL is
> defined) is in the uses clause only for GTK1:
> {$IFDEF UNIX}
> baseunix, unix,
> {$IFDEF GTK1}
> X, XLib, XUtil, XAtom, //Font retrieval and Keyboard handling
> {$ENDIF not Gtk1}
> Moving it out of the ifdef:
> {$IFDEF UNIX}
> baseunix, unix, XAtom,
> {$IFDEF GTK1}
> X, XLib, XUtil, //Font retrieval and Keyboard handling
> {$ENDIF not Gtk1}
> gtk2 LCL builds properly.
Thanks. Fixed.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives