I rewrote the code again using the `for` loop, fixed the `g_object_ref()` calls and tested again functionality and cppcheck happiness.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/1017#issuecomment-712427554