/* Returns: the value corresponding to the key, or NULL if the key was not found  */
gpointer g_tree_lookup(GTree *tree, gconstpointer key)
/* Returns: the value corresponding to the key, or NULL if the key was not found  */
gpointer g_tree_lookup(GTree *tree, gconstpointer key)
{
  GTreeNode *node;
  g_return_val_if_fail (tree != NULL, NULL);
  node = g_tree_find_node (tree, key);
  return node ? node->value : NULL;
}