diff options
author | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-05-10 23:08:28 +0800 |
---|---|---|
committer | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-08-20 18:03:06 +0800 |
commit | 5c0d938cf15d07c0f7511c5acb9a3d8e42278e0d (patch) | |
tree | 6335337894b545d7c1a232ae4d214c4eeb9990a5 /tp-account-widgets/tpaw-irc-network-manager.c | |
parent | 4598bce7db6276a9f1f9e21adef8723b646bf44b (diff) | |
download | gsoc2013-empathy-5c0d938cf15d07c0f7511c5acb9a3d8e42278e0d.tar.gz gsoc2013-empathy-5c0d938cf15d07c0f7511c5acb9a3d8e42278e0d.tar.zst gsoc2013-empathy-5c0d938cf15d07c0f7511c5acb9a3d8e42278e0d.zip |
tpaw-utils: move empathy_xml_validate_from_resource to tp-aw and rename it
This commit also changes the licence of the moved code (all copyrighted by
Collabora Ltd.) from GPL to LGPL.
https://bugzilla.gnome.org/show_bug.cgi?id=699492
Diffstat (limited to 'tp-account-widgets/tpaw-irc-network-manager.c')
-rw-r--r-- | tp-account-widgets/tpaw-irc-network-manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tp-account-widgets/tpaw-irc-network-manager.c b/tp-account-widgets/tpaw-irc-network-manager.c index e6fdebacc..12c73d6d3 100644 --- a/tp-account-widgets/tpaw-irc-network-manager.c +++ b/tp-account-widgets/tpaw-irc-network-manager.c @@ -24,6 +24,7 @@ #include <sys/stat.h> #include "empathy-utils.h" +#include "tpaw-utils.h" #define DEBUG_FLAG EMPATHY_DEBUG_IRC #include "empathy-debug.h" @@ -632,7 +633,7 @@ irc_network_manager_file_parse (TpawIrcNetworkManager *self, return FALSE; } - if (!empathy_xml_validate_from_resource (doc, IRC_NETWORKS_DTD_RESOURCENAME)) { + if (!tpaw_xml_validate_from_resource (doc, IRC_NETWORKS_DTD_RESOURCENAME)) { g_warning ("Failed to validate file:'%s'", filename); xmlFreeDoc (doc); xmlFreeParserCtxt (ctxt); |