From 3bcfd5cf7f40eae55e1cb2bbee166f1d8133bc83 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sun, 31 Oct 2010 09:43:30 -0600 Subject: [PATCH] fix pango lib access --- collects/racket/draw/unsafe/pango.rkt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collects/racket/draw/unsafe/pango.rkt b/collects/racket/draw/unsafe/pango.rkt index 40558db763..7475f5fcc1 100644 --- a/collects/racket/draw/unsafe/pango.rkt +++ b/collects/racket/draw/unsafe/pango.rkt @@ -168,8 +168,8 @@ (define-pango pango_layout_iter_next_run (_fun PangoLayoutIter -> _bool)) (define-pango pango_layout_iter_get_run_readonly (_fun PangoLayoutIter -> (_or-null _PangoGlyphItem-pointer))) -(define-pangocairo pango_layout_get_line (_fun PangoLayout _int -> PangoLayoutLine)) -(define-pangocairo pango_layout_get_line_readonly (_fun PangoLayout _int -> PangoLayoutLine) +(define-pango pango_layout_get_line (_fun PangoLayout _int -> PangoLayoutLine)) +(define-pango pango_layout_get_line_readonly (_fun PangoLayout _int -> PangoLayoutLine) #:fail (lambda () pango_layout_get_line)) (define-pango pango_layout_get_context (_fun PangoLayout -> PangoContext)) ;; not an allocator