summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 b9c8d1d4..6e6bb4f2 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));