summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-26 10:07:46 +0100
committerraveit65 <[email protected]>2022-07-21 19:33:49 +0200
commit783922a002fb0d67f4b5598a362e4ba0f23a9769 (patch)
treee13f15323613be80daa2ae757e7325d0f762fe93
parentbc9e039fe5e2a0622039fcea8998affb80390442 (diff)
downloadcaja-783922a002fb0d67f4b5598a362e4ba0f23a9769.tar.bz2
caja-783922a002fb0d67f4b5598a362e4ba0f23a9769.tar.xz
caja-file-management-properties: use g_list_free_full
-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));