make GdkCursor nullable

This commit is contained in:
William G Hatch 2017-01-20 15:49:04 -07:00 committed by Matthew Flatt
parent b422f26ccb
commit d0adb8bc70

View File

@ -36,7 +36,7 @@
(cons 'blank void)
(cons 'hand GDK_HAND2))))
(define _GdkCursor (_cpointer 'GdkCursor))
(define _GdkCursor (_cpointer/null 'GdkCursor))
(define-gdk gdk_cursor_new (_fun _int -> _GdkCursor))
(define-gdk gdk_display_get_default (_fun -> _GdkDisplay))
(define-gdk gdk_cursor_new_from_pixbuf (_fun _GdkDisplay _GdkPixbuf _int _int -> _GdkCursor))