summaryrefslogtreecommitdiff
path: root/src/caja-file-management-properties.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-file-management-properties.c')
-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));