summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystem.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkfilesystem.c')
-rw-r--r--gtk/gtkfilesystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c
index cd2b072257..4f176f6fe2 100644
--- a/gtk/gtkfilesystem.c
+++ b/gtk/gtkfilesystem.c
@@ -886,7 +886,7 @@ gtk_file_folder_get_info (GtkFileFolder *folder,
static gpointer
gtk_file_path_real_copy (gpointer boxed)
{
- return gtk_file_path_new_dup (gtk_file_path_get_string ((GtkFilePath *) boxed));
+ return gtk_file_path_copy ((GtkFilePath *) boxed);
}
static void