libpurple/buddylist.c

branch
soc.2013.gobjectification.plugins
changeset 37119
fdd7282fdad6
parent 37118
5bbf6b8c30fd
parent 35597
7fcfcf147b99
child 37143
728319cb659f
--- a/libpurple/buddylist.c	Fri Feb 21 02:52:27 2014 +0530
+++ b/libpurple/buddylist.c	Sun Feb 23 02:40:51 2014 +0530
@@ -2030,14 +2030,6 @@
 	return ops_new;
 }
 
-static void
-purple_blist_ui_ops_free(PurpleBlistUiOps *ops)
-{
-	g_return_if_fail(ops != NULL);
-
-	g_free(ops);
-}
-
 GType
 purple_blist_ui_ops_get_type(void)
 {
@@ -2046,7 +2038,7 @@
 	if (type == 0) {
 		type = g_boxed_type_register_static("PurpleBlistUiOps",
 				(GBoxedCopyFunc)purple_blist_ui_ops_copy,
-				(GBoxedFreeFunc)purple_blist_ui_ops_free);
+				(GBoxedFreeFunc)g_free);
 	}
 
 	return type;

mercurial