The TGdkAtom type depends on the processor (32 / 64 bit).

See attached patch.

With this patch lazarus clipboard will work on gtk + x86_64.

Mattias
Index: packages/extra/gtk2/gtk+/gdk/gdktypes.inc
===================================================================
--- packages/extra/gtk2/gtk+/gdk/gdktypes.inc	(revision 8173)
+++ packages/extra/gtk2/gtk+/gdk/gdktypes.inc	(working copy)
@@ -42,7 +42,7 @@
 
    PGdkAtom = ^TGdkAtom;
    // internal type
-   TGdkAtom = cardinal;
+   TGdkAtom = PtrUInt;
 
    PGdkByteOrder = ^TGdkByteOrder;
    TGdkByteOrder = (
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to