| 972 purple_xmlnode_get_type(void) |
972 purple_xmlnode_get_type(void) |
| 973 { |
973 { |
| 974 static GType type = 0; |
974 static GType type = 0; |
| 975 |
975 |
| 976 if (type == 0) { |
976 if (type == 0) { |
| 977 type = g_boxed_type_register_static("xmlnode", |
977 type = g_boxed_type_register_static("PurpleXmlNode", |
| 978 (GBoxedCopyFunc)purple_xmlnode_copy, |
978 (GBoxedCopyFunc)purple_xmlnode_copy, |
| 979 (GBoxedFreeFunc)purple_xmlnode_free); |
979 (GBoxedFreeFunc)purple_xmlnode_free); |
| 980 } |
980 } |
| 981 |
981 |
| 982 return type; |
982 return type; |