[nautilus] Use nautilus_directory_unref to unref directories
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Use nautilus_directory_unref to unref directories
- Date: Tue, 8 Dec 2009 15:31:31 +0000 (UTC)
commit 8c3e5abb396bb67274d9e3d769295ece33b52091
Author: Alexander Larsson <alexl redhat com>
Date: Tue Dec 8 16:26:57 2009 +0100
Use nautilus_directory_unref to unref directories
Its nice to have nautilus_directory_ref/unref paired for help when
debugging.
src/file-manager/fm-tree-model.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/file-manager/fm-tree-model.c b/src/file-manager/fm-tree-model.c
index bebecc9..c058bc1 100644
--- a/src/file-manager/fm-tree-model.c
+++ b/src/file-manager/fm-tree-model.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]