summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-search-directory-file.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-search-directory-file.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-search-directory-file.c')
-rw-r--r--libcaja-private/caja-search-directory-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcaja-private/caja-search-directory-file.c b/libcaja-private/caja-search-directory-file.c
index ec6d5788..bf13bb7e 100644
--- a/libcaja-private/caja-search-directory-file.c
+++ b/libcaja-private/caja-search-directory-file.c
@@ -220,7 +220,7 @@ caja_search_directory_file_init (CajaSearchDirectoryFile *search_file)
file = CAJA_FILE (search_file);
file->details->got_file_info = TRUE;
- file->details->mime_type = eel_ref_str_get_unique ("x-directory/normal");
+ file->details->mime_type = g_ref_string_new_intern ("x-directory/normal");
file->details->type = G_FILE_TYPE_DIRECTORY;
file->details->size = 0;