summaryrefslogtreecommitdiff
path: root/capplets/appearance/appearance-desktop.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/appearance/appearance-desktop.c')
-rw-r--r--capplets/appearance/appearance-desktop.c3
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);