diff options
author | rbuj <[email protected]> | 2021-02-01 17:10:34 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-17 23:56:32 +0100 |
commit | d9ef33ef0f4ead7c569554c7ddcbe501ad8ae00a (patch) | |
tree | f8064d00ccc56a31fe3c3ae15396ab593bce98d1 /plugins/housekeeping | |
parent | 4b84cdebe407554da2c1b3c9c0e9a3d45e4d1871 (diff) | |
download | mate-settings-daemon-d9ef33ef0f4ead7c569554c7ddcbe501ad8ae00a.tar.bz2 mate-settings-daemon-d9ef33ef0f4ead7c569554c7ddcbe501ad8ae00a.tar.xz |
housekeeping: Remove warning -Wcast-function-type
Diffstat (limited to 'plugins/housekeeping')
-rw-r--r-- | plugins/housekeeping/msd-housekeeping-manager.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/housekeeping/msd-housekeeping-manager.c b/plugins/housekeeping/msd-housekeeping-manager.c index a873a66..a4596cf 100644 --- a/plugins/housekeeping/msd-housekeeping-manager.c +++ b/plugins/housekeeping/msd-housekeeping-manager.c @@ -200,8 +200,7 @@ purge_thumbnail_cache (MsdHousekeepingManager *manager) } } - g_list_foreach (files, (GFunc) thumb_data_free, NULL); - g_list_free (files); + g_list_free_full (files, thumb_data_free); g_date_time_unref (purge_data.now); } |