summaryrefslogtreecommitdiff
path: root/plugins/housekeeping/msd-ldsm-dialog.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-26 10:34:54 +0100
committerraveit65 <[email protected]>2020-12-04 21:54:28 +0100
commit6777c90acaf69fefc1f5ed5c83257b40ac081519 (patch)
tree19aa8f6f2c77d109c8d42cebfd7adb4e48d25b1d /plugins/housekeeping/msd-ldsm-dialog.c
parenta6ae3a906357665ab8ffe4a73d1f9c6183c9048f (diff)
downloadmate-settings-daemon-6777c90acaf69fefc1f5ed5c83257b40ac081519.tar.bz2
mate-settings-daemon-6777c90acaf69fefc1f5ed5c83257b40ac081519.tar.xz
Use g_slist_free_full
Diffstat (limited to 'plugins/housekeeping/msd-ldsm-dialog.c')
-rw-r--r--plugins/housekeeping/msd-ldsm-dialog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/housekeeping/msd-ldsm-dialog.c b/plugins/housekeeping/msd-ldsm-dialog.c
index 74ff606..18cbe0c 100644
--- a/plugins/housekeeping/msd-ldsm-dialog.c
+++ b/plugins/housekeeping/msd-ldsm-dialog.c
@@ -182,8 +182,7 @@ ignore_check_button_toggled_cb (GtkToggleButton *button,
g_ptr_array_free (array, FALSE);
}
- g_slist_foreach (ignore_paths, (GFunc) g_free, NULL);
- g_slist_free (ignore_paths);
+ g_slist_free_full (ignore_paths, g_free);
g_object_unref (settings);
}