(warn "DISPLAY not set"))))
(define (start-gtk* name args)
- ;; Call start_gtk. Signals an error if gtk_init_check returns 0.
+ ;; Call start_gtk. Warns if gtk_init_check returns 0.
;; Returns a list of unused ARGS.
(let ((arg-count (guarantee-list-of-type->length
args string? "list of commandline arguments (strings)"
(C->= count-var "int" (+ 1 arg-count))
(C->= vector-var "* * char" vector)
(if (fix:zero? (C-call "start_gtk" count-var vector-var))
- (error "Could not start Gtk.")
+ (warn "Could not start Gtk.")
(let ((new-argc (C-> count-var "int")))
(C-> vector-var "* * char" vector-scan)
(let ((new-args