diff options
author | rbuj <[email protected]> | 2020-02-27 22:38:43 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-03-13 16:43:30 +0100 |
commit | 242b68ceddb217a42547d578898be841dca2f4a3 (patch) | |
tree | 6e661efc8f713cf00400e7526b4c20c3659c2c81 /src/gs-manager.c | |
parent | ec8db2297fc1d435d26de2006b429b1e6ffdc8a3 (diff) | |
download | mate-screensaver-242b68ceddb217a42547d578898be841dca2f4a3.tar.bz2 mate-screensaver-242b68ceddb217a42547d578898be841dca2f4a3.tar.xz |
Remove warnings: cast between incompatible function types
Diffstat (limited to 'src/gs-manager.c')
-rw-r--r-- | src/gs-manager.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gs-manager.c b/src/gs-manager.c index 00ec982..cca90d8 100644 --- a/src/gs-manager.c +++ b/src/gs-manager.c @@ -387,8 +387,7 @@ free_themes (GSManager *manager) { if (manager->priv->themes) { - g_slist_foreach (manager->priv->themes, (GFunc)g_free, NULL); - g_slist_free (manager->priv->themes); + g_slist_free_full (manager->priv->themes, g_free); } } |