diff options
author | rbuj <[email protected]> | 2020-11-26 10:59:05 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-12-04 22:00:43 +0100 |
commit | ff32e170961fa1999f802c844ead5d962dfec505 (patch) | |
tree | 0e4d8971ecdb745960bbbe676bce1f3ae6efde94 /capplets/appearance/appearance-desktop.c | |
parent | 6bebceb3dbbd9e9fc2b4661499785157cebbc8a4 (diff) | |
download | mate-control-center-ff32e170961fa1999f802c844ead5d962dfec505.tar.bz2 mate-control-center-ff32e170961fa1999f802c844ead5d962dfec505.tar.xz |
Use g_slist_free_full
Diffstat (limited to 'capplets/appearance/appearance-desktop.c')
-rw-r--r-- | capplets/appearance/appearance-desktop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/capplets/appearance/appearance-desktop.c b/capplets/appearance/appearance-desktop.c index 694c56db..971cb065 100644 --- a/capplets/appearance/appearance-desktop.c +++ b/capplets/appearance/appearance-desktop.c @@ -1378,8 +1378,7 @@ desktop_shutdown (AppearanceData *data) data->screen_size_handler = 0; } - g_slist_foreach (data->wp_uris, (GFunc) g_free, NULL); - g_slist_free (data->wp_uris); + g_slist_free_full (data->wp_uris, g_free); if (data->wp_filesel) { g_object_ref_sink (data->wp_filesel); |