summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-query.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-query.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-query.c')
-rw-r--r--libcaja-private/caja-query.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcaja-private/caja-query.c b/libcaja-private/caja-query.c
index 54c23d4e..a654eb2c 100644
--- a/libcaja-private/caja-query.c
+++ b/libcaja-private/caja-query.c
@@ -117,14 +117,14 @@ caja_query_set_location (CajaQuery *query, const char *uri)
GList *
caja_query_get_mime_types (CajaQuery *query)
{
- return eel_g_str_list_copy (query->details->mime_types);
+ return g_list_copy_deep (query->details->mime_types, (GCopyFunc) g_strdup, NULL);
}
void
caja_query_set_mime_types (CajaQuery *query, GList *mime_types)
{
g_list_free_full (query->details->mime_types, g_free);
- query->details->mime_types = eel_g_str_list_copy (mime_types);
+ query->details->mime_types = g_list_copy_deep (mime_types, (GCopyFunc) g_strdup, NULL);
}
void
@@ -137,14 +137,14 @@ caja_query_add_mime_type (CajaQuery *query, const char *mime_type)
GList *
caja_query_get_tags (CajaQuery *query)
{
- return eel_g_str_list_copy (query->details->tags);
+ return g_list_copy_deep (query->details->tags, (GCopyFunc) g_strdup, NULL);
}
void
caja_query_set_tags (CajaQuery *query, GList *tags)
{
g_list_free_full (query->details->tags, g_free);
- query->details->tags = eel_g_str_list_copy (tags);
+ query->details->tags = g_list_copy_deep (tags, (GCopyFunc) g_strdup, NULL);
}
void