Use g_*list_free_full() instead of g_*list_foreach()
commit727e8cde61d5357a63538df96ab4ca6c4cc8f931
authorColomban Wendling <ban@herbesfolles.org>
Tue, 24 Oct 2023 22:31:33 +0000 (25 00:31 +0200)
committerColomban Wendling <ban@herbesfolles.org>
Thu, 16 Nov 2023 09:56:02 +0000 (16 10:56 +0100)
treea9e574db5b1d9a4da16d1365039604f01f7d36b9
parent0e0a96ef8e7fec5117f67f3aea1bcfa685d3f6d0
Use g_*list_free_full() instead of g_*list_foreach()

Simplifies code and avoids unnecessary or shady casts passing the
element free function.
plugins/filebrowser.c
src/dialogs.c
src/filetypes.c
src/plugins.c
src/toolbar.c