From 04f4e2acfbc82946ca3def654214c08071a87359 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 20 Jun 2015 13:55:58 +0000 Subject: xml api became a set of functions git-svn-id: http://svn.miranda-ng.org/main/trunk@14288 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Gadu-Gadu/src/core.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/Gadu-Gadu/src/core.cpp') diff --git a/protocols/Gadu-Gadu/src/core.cpp b/protocols/Gadu-Gadu/src/core.cpp index dca61cd88b..efe7df5d0a 100644 --- a/protocols/Gadu-Gadu/src/core.cpp +++ b/protocols/Gadu-Gadu/src/core.cpp @@ -1153,7 +1153,7 @@ retry: xmlAction = mir_a2t(e->event.xml_action.data); tag = mir_a2t("events"); - hXml = xi.parseString(xmlAction, 0, tag); + hXml = xmlParseString(xmlAction, 0, tag); if (hXml != NULL) { HXML node; @@ -1161,13 +1161,13 @@ retry: mir_free(tag); tag = mir_a2t("event/type"); - node = xi.getChildByPath(hXml, tag, 0); - type = node != NULL ? mir_t2a(xi.getText(node)) : NULL; + node = xmlGetChildByPath(hXml, tag, 0); + type = node != NULL ? mir_t2a(xmlGetText(node)) : NULL; mir_free(tag); tag = mir_a2t("event/sender"); - node = xi.getChildByPath(hXml, tag, 0); - sender = node != NULL ? mir_t2a(xi.getText(node)) : NULL; + node = xmlGetChildByPath(hXml, tag, 0); + sender = node != NULL ? mir_t2a(xmlGetText(node)) : NULL; debugLogA("mainthread() (%x): XML Action type: %s.", this, type != NULL ? type : "unknown"); // Avatar change notify if (type != NULL && !mir_strcmp(type, "28")) { @@ -1176,7 +1176,7 @@ retry: } mir_free(type); mir_free(sender); - xi.destroyNode(hXml); + xmlDestroyNode(hXml); } mir_free(tag); mir_free(xmlAction); -- cgit v1.2.3