summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-26 10:07:46 +0100
committerraveit65 <[email protected]>2020-12-04 18:31:26 +0100
commit6721b4bad02b17de5c6404618f149a8ed29cec0f (patch)
treec92441660ef3b3a437f498f2d84e1561f0b7362c /src
parent2f35aa4cd5e89ba7891537e78e8bc7bf7130d8a7 (diff)
downloadcaja-6721b4bad02b17de5c6404618f149a8ed29cec0f.tar.bz2
caja-6721b4bad02b17de5c6404618f149a8ed29cec0f.tar.xz
caja-file-management-properties: use g_list_free_full
Diffstat (limited to 'src')
-rw-r--r--src/caja-file-management-properties.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/caja-file-management-properties.c b/src/caja-file-management-properties.c
index f7cf5c74..63f4b592 100644
--- a/src/caja-file-management-properties.c
+++ b/src/caja-file-management-properties.c
@@ -813,8 +813,7 @@ caja_file_management_properties_dialog_setup_media_page (GtkBuilder *builder)
skip:
;
}
- g_list_foreach (content_types, (GFunc) g_free, NULL);
- g_list_free (content_types);
+ g_list_free_full (content_types, g_free);
gtk_combo_box_set_model (GTK_COMBO_BOX (other_type_combo_box), GTK_TREE_MODEL (other_type_list_store));