Newer GLib warns if the return value from `g_string_free(str, FALSE)` is not used, so adjust the code to actually use it.
GeniusPaste's tried to cast it away, but it doesn't seem to work, at least not anymore. Fix this by taking the more convoluted approach. CC @techee @LarsGit223 @xiota, yet looking at the changes for those plugins I'm not sure workbench and markdown readlly have a maintainer anymore. You can view, comment on, or merge this pull request online at: https://github.com/geany/geany-plugins/pull/1435 -- Commit Summary -- * Fix warnings for g_string_free() calls not using the return value -- File Changes -- M geniuspaste/src/geniuspaste.c (7) M markdown/peg-markdown/markdown_lib.c (5) M vimode/src/excmd-runner.c (3) M workbench/src/wb_project.c (12) -- Patch Links -- https://github.com/geany/geany-plugins/pull/1435.patch https://github.com/geany/geany-plugins/pull/1435.diff -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/1435 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany-plugins/pull/[email protected]>
