From 4bec7836f17dfd453b877f65d5e91aa29c082d70 Mon Sep 17 00:00:00 2001 From: Matija Obid Date: Tue, 27 Aug 2024 21:34:50 +0200 Subject: [PATCH] Fixing callbacks segfaults --- g-golf/hl-api/callback.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g-golf/hl-api/callback.scm b/g-golf/hl-api/callback.scm index 633635c..04b9ea2 100644 --- a/g-golf/hl-api/callback.scm +++ b/g-golf/hl-api/callback.scm @@ -150,7 +150,7 @@ ffi-cif ffi-closure-callback user-data) - (if (gi-check-version 1 71 0) + (if (and #f (gi-check-version 1 71 0)) (g-callable-info-create-closure info ffi-cif ffi-closure-callback user-data) (g-callable-info-prepare-closure -- 2.45.2