libpurple/xmlnode.c

branch
soc.2013.gobjectification
changeset 34791
df49377a0778
parent 32322
5c1dd6d9d57f
child 34883
7d9d0d7b7b62
--- a/libpurple/xmlnode.c	Tue Jul 16 16:07:34 2013 +0530
+++ b/libpurple/xmlnode.c	Tue Jul 16 20:08:53 2013 +0530
@@ -967,3 +967,17 @@
 
 	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;
+}

mercurial