#include "empathy-status-presets.h"
#include <sys/stat.h>
+#include <tp-account-widgets/tpaw-utils.h>
#include "empathy-utils.h"
return;
}
- if (!empathy_xml_validate_from_resource (doc, STATUS_PRESETS_DTD_RESOURCENAME)) {
+ if (!tpaw_xml_validate_from_resource (doc, STATUS_PRESETS_DTD_RESOURCENAME)) {
g_warning ("Failed to validate file:'%s'", filename);
xmlFreeDoc (doc);
xmlFreeParserCtxt (ctxt);
GList *l;
gchar *dir;
gchar *file;
- gint count[NUM_TP_CONNECTION_PRESENCE_TYPES];
+ gint count[TP_NUM_CONNECTION_PRESENCE_TYPES];
gint i;
- for (i = 0; i < NUM_TP_CONNECTION_PRESENCE_TYPES; i++) {
+ for (i = 0; i < TP_NUM_CONNECTION_PRESENCE_TYPES; i++) {
count[i] = 0;
}