gtk: tolerate absence of a minor combo_box function

original commit: 15fa34b09191d05b0bcd79e7939fba12a63beba4
This commit is contained in:
Matthew Flatt 2010-08-12 19:52:37 -04:00
parent 7d9dc0ea1b
commit cc937ffeda

View File

@ -129,7 +129,11 @@
(define-gtk gtk_combo_box_set_active (_fun _GtkWidget _int -> _void))
(define-gtk gtk_combo_box_get_active (_fun _GtkWidget -> _int))
(define-gtk gtk_combo_box_set_button_sensitivity (_fun _GtkWidget _int -> _void))
(define-gtk gtk_combo_box_set_button_sensitivity (_fun _GtkWidget _int -> _void)
#:fail (lambda ()
;; Not available? Too bad. A combo-field% will in rare
;; cases not be enabled as it should be.
(lambda (w m) (void))))
(define GTK_SENSITIVITY_ON 1)
(define-signal-handler connect-expose "expose-event"