(define (get-gtk-input-operations)
(values
- (lambda () ;halt-update?
+ (named-lambda (gtk-screen-halt-update?)
;; Large buffers will generate large runs of these traces...
;;(%trace2 ";halt-update?")
(let ((halt? (not (thread-queue/empty? event-queue))))
;;(%trace2 " => "halt?"\n")
halt?))
- (lambda (msec) ;peek-no-hang
+ (named-lambda (gtk-screen-peek-no-hang msec)
(%trace2 ";peek-no-hang "msec"\n")
(let ((event (thread-queue/peek-no-hang event-queue msec)))
(%trace2 ";peek-no-hang "msec" => "event"\n")
event))
- (lambda () ;peek
+ (named-lambda (gtk-screen-peek)
(%trace2 ";peek\n")
(let ((event (thread-queue/peek event-queue)))
(%trace2 ";peek => "event"\n")
event))
- (lambda () ;read
+ (named-lambda (gtk-screen-read)
(%trace2 ";read\n")
(let ((event (thread-queue/dequeue! event-queue)))
(%trace2 ";read => "event"\n")
(define ls)
(define await-closed-windows)
(define registered-callback-count)
-(define maliens)
+(define malloced-aliens)
(define (main)
(let ((new (extend-top-level-environment
(->environment '(edwin screen gtk-screen))))
(set! await-closed-windows (access await-closed-windows new))
(set! registered-callback-count
(access registered-callback-count ffi))
- (set! maliens (named-lambda (maliens)
- (access malloced-aliens ffi))))
+ (set! malloced-aliens (named-lambda (malloced-aliens)
+ (access malloced-aliens ffi))))
(define-test 'gtk-screens
(lambda ()