aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTrung LĂȘ <8@tle.id.au>2026-06-10 11:59:38 +1000
committerGitHub <noreply@github.com>2026-06-10 11:59:38 +1000
commita1c98211816502e27273a2db1d03855e08f03e4c (patch)
treeb2df2a71b70e783fa0330c8c03309d4e918c9733
parentf51ba1bf936ae5085ba604b76bbca18e79554dfe (diff)
parentfffd92d8752579a88bd7f9d323934cbc901b6dfd (diff)
Merge pull request #9 from runlevel5/fix/global-shortcuts-autocleanup
ci: exclude global_shortcuts.c from use_auto_cleanup (false positives)
-rw-r--r--gobject-linter.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/gobject-linter.toml b/gobject-linter.toml
index 5fe6bb6..63713ed 100644
--- a/gobject-linter.toml
+++ b/gobject-linter.toml
@@ -28,5 +28,11 @@ level = "ignore"
# function (e.g. the GlobalShortcuts GDBusProxy). Converting those to g_autoptr
# would over-unref and crash, so it reports rather than blocks. Convert the safe
# g_autofree/g_autoptr sites manually over time.
+#
+# global_shortcuts.c is the D-Bus portal plumbing: every finding there is one of
+# the false positives above (floating GVariants sunk by g_variant_new_tuple,
+# GVariant* arrays, or the deliberately long-lived request proxy), so the rule is
+# excluded for that file entirely.
[rules.use_auto_cleanup]
level = "warn"
+ignore = ["src/global_shortcuts.c"]