summaryrefslogtreecommitdiff
path: root/src/eom-uri-converter.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-27 20:49:54 +0100
committerraveit65 <[email protected]>2020-03-10 20:29:47 +0100
commitd34df9832f460c2bca79257aae4b5cfc77c959a1 (patch)
tree74e7a06c4b018f9045ebd97d7252fa71f87066ab /src/eom-uri-converter.c
parent0c8d17a76050af39b22f26b33f7b47de949ef379 (diff)
downloadeom-d34df9832f460c2bca79257aae4b5cfc77c959a1.tar.bz2
eom-d34df9832f460c2bca79257aae4b5cfc77c959a1.tar.xz
Remove warnings: cast between incompatible function types
Diffstat (limited to 'src/eom-uri-converter.c')
-rw-r--r--src/eom-uri-converter.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eom-uri-converter.c b/src/eom-uri-converter.c
index 2397a28..d38b52d 100644
--- a/src/eom-uri-converter.c
+++ b/src/eom-uri-converter.c
@@ -79,8 +79,7 @@ eom_uri_converter_dispose (GObject *object)
}
if (priv->token_list) {
- g_list_foreach (priv->token_list, (GFunc) free_token, NULL);
- g_list_free (priv->token_list);
+ g_list_free_full (priv->token_list, free_token);
priv->token_list = NULL;
}