[nautilus] undo: don't provide any free function for trashed hashtable values



commit 211d4429171e6d3e307cb175513077f61c86b640
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jan 23 12:58:06 2012 -0500

    undo: don't provide any free function for trashed hashtable values
    
    No need to call g_free() anymore.

 .../nautilus-file-undo-operations.c                |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file-undo-operations.c b/libnautilus-private/nautilus-file-undo-operations.c
index d2d1f76..e2e3fd1 100644
--- a/libnautilus-private/nautilus-file-undo-operations.c
+++ b/libnautilus-private/nautilus-file-undo-operations.c
@@ -1164,7 +1164,7 @@ nautilus_file_undo_info_trash_init (NautilusFileUndoInfoTrash *self)
 	self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, nautilus_file_undo_info_trash_get_type (),
 						  NautilusFileUndoInfoTrashDetails);
 	self->priv->trashed =
-		g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
+		g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]