From 0f954c9fa9f37e90cb1014f1a9e1e0b9d9fe14ed Mon Sep 17 00:00:00 2001 From: Anton Gorenko Date: Mon, 15 Nov 2010 21:47:36 +0600 Subject: [PATCH] gdk.ffi: fix incorrect GdkEvent* structures' definitions; --- basis/gdk/ffi/ffi.factor | 73 +++++++++++++++++++++++++++++++++++----- 1 file changed, 65 insertions(+), 8 deletions(-) diff --git a/basis/gdk/ffi/ffi.factor b/basis/gdk/ffi/ffi.factor index 1e779befa6..7107b52aa8 100644 --- a/basis/gdk/ffi/ffi.factor +++ b/basis/gdk/ffi/ffi.factor @@ -2,7 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license. USING: alien alien.c-types alien.destructors alien.libraries alien.syntax cairo.ffi classes.struct combinators -gobject-introspection kernel system vocabs.loader ; +gobject-introspection gobject-introspection.standard-types +kernel system vocabs.loader ; IN: gdk.ffi << @@ -20,13 +21,6 @@ LIBRARY: gdk } cond >> -IMPLEMENT-STRUCTS: GdkEventAny GdkEventKey GdkEventButton -GdkEventScroll GdkEventMotion GdkEventExpose GdkEventVisibility -GdkEventCrossing GdkEventFocus GdkEventConfigure GdkEventProperty -GdkEventSelection GdkEventDND GdkEventProximity GdkEventClient -GdkEventNoExpose GdkEventWindowState GdkEventSetting -GdkEventOwnerChange GdkEventGrabBroken GdkRectangle ; - !