summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-file.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-05 07:43:13 +0100
committerVictor Kareh <[email protected]>2019-03-07 10:41:44 -0500
commit33adc930ad133b0d169edbf619c3692da47f9c2f (patch)
tree6d0e99875398bd401d4ae4fdb49c4a3eb199da17 /libcaja-private/caja-file.c
parent808318f42f097349a0e0b6d45b0e075e5b920f19 (diff)
downloadcaja-33adc930ad133b0d169edbf619c3692da47f9c2f.tar.bz2
caja-33adc930ad133b0d169edbf619c3692da47f9c2f.tar.xz
eel: remove g_str_list_copy
GNOME/nautilus@61e2aff Replace eel_g_str_list_copy(Glist *list) with g_list_copy_deep (list, (GCopyFunc) g_strdup, NULL)
Diffstat (limited to 'libcaja-private/caja-file.c')
-rw-r--r--libcaja-private/caja-file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-file.c b/libcaja-private/caja-file.c
index 23e619f1..2d3685a5 100644
--- a/libcaja-private/caja-file.c
+++ b/libcaja-private/caja-file.c
@@ -7022,8 +7022,8 @@ caja_file_get_keywords (CajaFile *file)
keywords = caja_file_get_metadata_list
(file, CAJA_METADATA_KEY_EMBLEMS);
- keywords = g_list_concat (keywords, eel_g_str_list_copy (file->details->extension_emblems));
- keywords = g_list_concat (keywords, eel_g_str_list_copy (file->details->pending_extension_emblems));
+ keywords = g_list_concat (keywords, g_list_copy_deep (file->details->extension_emblems, (GCopyFunc) g_strdup, NULL));
+ keywords = g_list_concat (keywords, g_list_copy_deep (file->details->pending_extension_emblems, (GCopyFunc) g_strdup, NULL));
return sort_keyword_list_and_remove_duplicates (keywords);
}