summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-query.c
diff options
context:
space:
mode:
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