summaryrefslogtreecommitdiff
path: root/obt/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'obt/xml.c')
-rw-r--r--obt/xml.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/obt/xml.c b/obt/xml.c
index c8729129..fde3b76d 100644
--- a/obt/xml.c
+++ b/obt/xml.c
@@ -112,6 +112,11 @@ void obt_xml_register(ObtXmlInst *i, const gchar *tag,
g_hash_table_insert(i->callbacks, c->tag, c);
}
+void obt_xml_unregister(ObtXmlInst *i, const gchar *tag)
+{
+ g_hash_table_remove(i->callbacks, tag);
+}
+
static gboolean load_file(ObtXmlInst *i,
const gchar *domain,
const gchar *filename,