diff options
Diffstat (limited to 'libpurple/xmlnode.c')
-rw-r--r-- | libpurple/xmlnode.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libpurple/xmlnode.c b/libpurple/xmlnode.c index 81285a514f..3c5cbbcae2 100644 --- a/libpurple/xmlnode.c +++ b/libpurple/xmlnode.c @@ -967,3 +967,17 @@ xmlnode_get_next_twin(xmlnode *node) return NULL; } + +GType +xmlnode_get_type(void) +{ + static GType type = 0; + + if (type == 0) { + type = g_boxed_type_register_static("xmlnode", + (GBoxedCopyFunc)xmlnode_copy, + (GBoxedFreeFunc)xmlnode_free); + } + + return type; +} |