summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-directory.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-05 19:23:42 +0100
committerZenWalker <[email protected]>2019-03-29 16:31:09 +0100
commit8f568265bf65f4c7bdc19738f91b4e98ed826394 (patch)
tree0411fe29c22fe69e644e1c3242d22b39327b89c8 /libcaja-private/caja-directory.c
parent26800580d62402e4b3390743205fefe2732ac394 (diff)
downloadcaja-8f568265bf65f4c7bdc19738f91b4e98ed826394.tar.bz2
caja-8f568265bf65f4c7bdc19738f91b4e98ed826394.tar.xz
eel: replace eel_ref_str with GRefString
GNOME/nautilus@b4d200f https://developer.gnome.org/glib/stable/glib-Reference-counted-strings.html
Diffstat (limited to 'libcaja-private/caja-directory.c')
-rw-r--r--libcaja-private/caja-directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-directory.c b/libcaja-private/caja-directory.c
index d9d66c2d..f9dc639a 100644
--- a/libcaja-private/caja-directory.c
+++ b/libcaja-private/caja-directory.c
@@ -527,7 +527,7 @@ add_to_hash_table (CajaDirectory *directory, CajaFile *file, GList *node)
{
const char *name;
- name = eel_ref_str_peek (file->details->name);
+ name = file->details->name;
g_assert (node != NULL);
g_assert (g_hash_table_lookup (directory->details->file_hash,
@@ -541,7 +541,7 @@ extract_from_hash_table (CajaDirectory *directory, CajaFile *file)
const char *name;
GList *node;
- name = eel_ref_str_peek (file->details->name);
+ name = file->details->name;
if (name == NULL)
{
return NULL;