aboutsummaryrefslogtreecommitdiffstats
path: root/tp-account-widgets/tpaw-utils.h
diff options
context:
space:
mode:
authorMarco Barisione <marco.barisione@collabora.co.uk>2013-05-10 23:08:28 +0800
committerMarco Barisione <marco.barisione@collabora.co.uk>2013-08-20 18:03:06 +0800
commit5c0d938cf15d07c0f7511c5acb9a3d8e42278e0d (patch)
tree6335337894b545d7c1a232ae4d214c4eeb9990a5 /tp-account-widgets/tpaw-utils.h
parent4598bce7db6276a9f1f9e21adef8723b646bf44b (diff)
downloadgsoc2013-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-utils.h')
-rw-r--r--tp-account-widgets/tpaw-utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tp-account-widgets/tpaw-utils.h b/tp-account-widgets/tpaw-utils.h
index f82b5a6f7..8a40dc93b 100644
--- a/tp-account-widgets/tpaw-utils.h
+++ b/tp-account-widgets/tpaw-utils.h
@@ -12,6 +12,7 @@
* Richard Hult <richard@imendio.com>
* Martyn Russell <martyn@imendio.com>
* Steve Frécinaux <code@istique.net>
+ * Emanuele Aina <emanuele.aina@collabora.co.uk>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -33,6 +34,7 @@
#include <glib.h>
#include <gtk/gtk.h>
+#include <libxml/tree.h>
#include <telepathy-glib/telepathy-glib.h>
G_BEGIN_DECLS
@@ -44,6 +46,10 @@ gchar *tpaw_protocol_icon_name (const gchar *protocol);
const gchar *tpaw_protocol_name_to_display_name (const gchar *proto_name);
const gchar *tpaw_service_name_to_display_name (const gchar *proto_name);
+/* XML */
+gboolean tpaw_xml_validate_from_resource (xmlDoc *doc,
+ const gchar *dtd_resourcename);
+
void tpaw_make_color_whiter (GdkRGBA *color);
/* Windows */