X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=obt%2Fxml.c;h=fde3b76d7c366c9ff176776a5e25e6913e087121;hb=d58ed5c413e052e7ff58aa1ea15b475e9c335e07;hp=c872912926405959ecd85063b9feb317e225af4d;hpb=69672e9d07381d088049e113da63b5beb7e90636;p=chaz%2Fopenbox 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,