summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexandervdm <[email protected]>2014-04-16 17:07:30 +0200
committeralexandervdm <[email protected]>2014-04-16 17:26:20 +0200
commit56c392718be0ba63c1493891900229d41bedbd74 (patch)
tree7a83da73354bc9fdbfc3846763d765a014cab4c6
parent910b9141ac634a86d8f53fda534e33787a160efb (diff)
downloadcaja-56c392718be0ba63c1493891900229d41bedbd74.tar.bz2
caja-56c392718be0ba63c1493891900229d41bedbd74.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