Don't compile some unused functions in gio/xdgmime/

This commit is contained in:
Matthias Clasen
2010-08-08 20:49:59 -04:00
parent 7acdaf6f1d
commit 14e0ad7c53
15 changed files with 75 additions and 9 deletions

View File

@@ -162,6 +162,8 @@ _xdg_glob_hash_node_new (void)
return glob_hash_node;
}
#ifdef NOT_USED_IN_GIO
static void
_xdg_glob_hash_node_dump (XdgGlobHashNode *glob_hash_node,
int depth)
@@ -181,6 +183,8 @@ _xdg_glob_hash_node_dump (XdgGlobHashNode *glob_hash_node,
_xdg_glob_hash_node_dump (glob_hash_node->next, depth);
}
#endif
static XdgGlobHashNode *
_xdg_glob_hash_insert_ucs4 (XdgGlobHashNode *glob_hash_node,
xdg_unichar_t *text,
@@ -603,6 +607,8 @@ _xdg_glob_hash_append_glob (XdgGlobHash *glob_hash,
}
}
#ifdef NOT_USED_IN_GIO
void
_xdg_glob_hash_dump (XdgGlobHash *glob_hash)
{
@@ -639,6 +645,7 @@ _xdg_glob_hash_dump (XdgGlobHash *glob_hash)
}
}
#endif
void
_xdg_mime_glob_read_from_file (XdgGlobHash *glob_hash,