]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/x11/clipboard/clipboard.factor
Remove many uses of <int> and *int etc
[factor.git] / basis / x11 / clipboard / clipboard.factor
index 496b9d688c3ea9ee381e4f6bcf836a59d1d2b69f..290c3e6aa338be2bdecc4e5b2344d2ab5a55f668 100644 (file)
@@ -32,7 +32,7 @@ TUPLE: x-clipboard atom contents ;
 
 : window-property ( win prop delete? -- string )
     [ [ dpy get ] 2dip 0 -1 ] dip AnyPropertyType
-    0 <Atom> 0 <int> 0 <ulong> 0 <ulong> f <void*>
+    0 <Atom> 0 int <ref> 0 <ulong> 0 <ulong> f <void*>
     [ XGetWindowProperty drop ] keep snarf-property ;
 
 : selection-from-event ( event window -- string )
@@ -53,7 +53,7 @@ TUPLE: x-clipboard atom contents ;
     [ dpy get ] dip
     [ requestor>> ]
     [ property>> XA_TIMESTAMP 32 PropModeReplace ]
-    [ time>> <int> ] tri
+    [ time>> int <ref> ] tri
     1 XChangeProperty drop ;
 
 : send-notify ( evt prop -- )