aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact-groups.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-contact-groups.c')
-rw-r--r--libempathy/empathy-contact-groups.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy/empathy-contact-groups.c b/libempathy/empathy-contact-groups.c
index 8d49f0519..81a1b3133 100644
--- a/libempathy/empathy-contact-groups.c
+++ b/libempathy/empathy-contact-groups.c
@@ -21,17 +21,17 @@
*/
#include "config.h"
+#include "empathy-contact-groups.h"
#include <sys/stat.h>
#include "empathy-utils.h"
-#include "empathy-contact-groups.h"
#define DEBUG_FLAG EMPATHY_DEBUG_CONTACT
#include "empathy-debug.h"
#define CONTACT_GROUPS_XML_FILENAME "contact-groups.xml"
-#define CONTACT_GROUPS_DTD_FILENAME "empathy-contact-groups.dtd"
+#define CONTACT_GROUPS_DTD_RESOURCENAME "/org/gnome/Empathy/empathy-contact-groups.dtd"
typedef struct {
gchar *name;
@@ -91,7 +91,7 @@ contact_groups_file_parse (const gchar *filename)
return;
}
- if (!empathy_xml_validate (doc, CONTACT_GROUPS_DTD_FILENAME)) {
+ if (!empathy_xml_validate_from_resource (doc, CONTACT_GROUPS_DTD_RESOURCENAME)) {
g_warning ("Failed to validate file:'%s'", filename);
xmlFreeDoc (doc);
xmlFreeParserCtxt (ctxt);