From 6e208c637c0cee335b67eb9c3bc1c8866fc3c9f6 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Mon, 16 Sep 2013 10:46:21 -0700 Subject: [PATCH] gtk: Fix `make check` to NOT hang when is DISPLAY not set. --- src/gtk/check.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gtk/check.scm b/src/gtk/check.scm index 0dd591901..d9dd90fdc 100644 --- a/src/gtk/check.scm +++ b/src/gtk/check.scm @@ -8,5 +8,6 @@ (cons dirname (access library-directory-path env))) (set! *initial-options-file* (merge-pathnames "check-optiondb" dirname))) -(if (not (warn-errors? (lambda () (load-option 'GTK)))) +(load-option 'GTK) +(if (gtk-thread-running?) (load "gtk-check" (->environment '(GTK)))) \ No newline at end of file -- 2.25.1