summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexandervdm <[email protected]>2014-04-16 17:07:30 +0200
committerStefano Karapetsas <[email protected]>2014-04-25 15:23:27 +0200
commit18c1ad26adc926343d3423bdd4b8042d3f71324b (patch)
tree4e8009f772d0e468df6798fe253fe3fe131a7f38
parenta96b41a336d4c208d49bc5e11131355a6868c92d (diff)
downloadcaja-18c1ad26adc926343d3423bdd4b8042d3f71324b.tar.bz2
caja-18c1ad26adc926343d3423bdd4b8042d3f71324b.tar.xz
replace g_free call on GFile objects, fixes #196
-rw-r--r--src/file-manager/fm-tree-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file-manager/fm-tree-view.c b/src/file-manager/fm-tree-view.c
index b9a6b5a3..ab2f1593 100644
--- a/src/file-manager/fm-tree-view.c
+++ b/src/file-manager/fm-tree-view.c
@@ -1120,7 +1120,7 @@ fm_tree_view_trash_cb (GtkWidget *menu_item,
caja_file_operations_trash_or_delete (list,
fm_tree_view_get_containing_window (view),
NULL, NULL);
- g_list_free_full (list, g_free);
+ g_list_free_full (list, g_object_unref);
}
static void