Use nautilus_directory_unref to unref directories

Its nice to have nautilus_directory_ref/unref paired for help when
debugging.
This commit is contained in:
Alexander Larsson 2009-12-08 16:26:57 +01:00
parent 18763611ef
commit 8c3e5abb39

View file

@ -214,7 +214,7 @@ tree_node_destroy (FMTreeModel *model, TreeNode *node)
g_assert (node->done_loading_id == 0);
g_assert (node->files_added_id == 0);
g_assert (node->files_changed_id == 0);
object_unref_if_not_NULL (node->directory);
nautilus_directory_unref (node->directory);
g_free (node);
}