Mercurial > pidgin
diff libpurple/xmlnode.c @ 26086:af42303654a5
propagate from branch 'im.pidgin.pidgin' (head 0bb02399ead9501a3e7951cfba2e8e8350fe917c)
to branch 'im.pidgin.pidgin.vv' (head a940363ef1efa4bf53c71cbb8201f36ed5795583)
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Thu, 05 Feb 2009 00:31:35 +0000 |
parents | efde7e6ed5f2 f0c2e27c7ae7 |
children | ff4212a5268f |
line wrap: on
line diff
--- a/libpurple/xmlnode.c Wed Feb 04 05:15:49 2009 +0000 +++ b/libpurple/xmlnode.c Thu Feb 05 00:31:35 2009 +0000 @@ -309,6 +309,12 @@ return node->prefix; } +xmlnode *xmlnode_get_parent(const xmlnode *child) +{ + g_return_val_if_fail(child != NULL, NULL); + return child->parent; +} + void xmlnode_free(xmlnode *node) {