projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91ec834
)
Remove unused code.
author
Lin Ma
<lin.ma@sun.com>
Thu, 27 May 2010 02:24:58 +0000
(10:24 +0800)
committer
Lin Ma
<lin.ma@sun.com>
Thu, 27 May 2010 02:24:58 +0000
(10:24 +0800)
gio/fen/fen-node.c
patch
|
blob
|
history
diff --git
a/gio/fen/fen-node.c
b/gio/fen/fen-node.c
index
a57e196
..
d4d7ddb
100644
(file)
--- 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)
{