From 9cab16c1931b6c6f0adb6c96c592d25752bd0c3f Mon Sep 17 00:00:00 2001 From: Jehan Date: Mon, 6 Apr 2026 14:26:15 +0200 Subject: [PATCH] tools: fix defcheck. We don't have excluded symbols in GIMP codebase. --- tools/defcheck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/defcheck.py b/tools/defcheck.py index 58ba946e49..79186ddc61 100755 --- a/tools/defcheck.py +++ b/tools/defcheck.py @@ -149,8 +149,8 @@ for df in def_files: nmsymbols = nmsymbols.split()[2::3] nmsymbols = [s for s in nmsymbols if s[0] != '_'] - missing_defs = [s for s in nmsymbols if s not in defsymbols and s not in exclude_symbols] - missing_nms = [s for s in defsymbols if s not in nmsymbols and s not in exclude_symbols] + missing_defs = [s for s in nmsymbols if s not in defsymbols] + missing_nms = [s for s in defsymbols if s not in nmsymbols] if missing_defs or missing_nms or doublesymbols or not sortok: print()