[glib] Remove unused code.
- From: Lin Ma <linma src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Remove unused code.
- Date: Thu, 27 May 2010 02:27:46 +0000 (UTC)
commit 866e3dda60d7de45ae7f6c962a0bb4167abd8147
Author: Lin Ma <lin ma sun com>
Date: Thu May 27 10:24:58 2010 +0800
Remove unused code.
gio/fen/fen-node.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/gio/fen/fen-node.c b/gio/fen/fen-node.c
index a57e196..d4d7ddb 100644
--- a/gio/fen/fen-node.c
+++ b/gio/fen/fen-node.c
@@ -167,19 +167,6 @@ node_find(node_t* node, const gchar* filename, gboolean create_on_missing)
return child;
}
-node_t*
-node_find_accessible_ancestor(node_t* node)
-{
- for (node = NODE_PARENT(node); node != ROOT; node = NODE_PARENT(node)) {
- if (NODE_HAS_STATE(node, NODE_STATE_ASSOCIATED) || node_lstat(node) == 0) {
- return node;
- }
- /* else it isn't existing or not accessible */
- }
- g_assert(node);
- return node;
-}
-
gint
node_lstat(node_t *f)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]