libpurple/roomlist.c

branch
soc.2013.gobjectification.plugins
changeset 37119
fdd7282fdad6
parent 37113
cb24b99a09ea
parent 35597
7fcfcf147b99
child 39364
54439db24429
--- a/libpurple/roomlist.c	Fri Feb 21 02:52:27 2014 +0530
+++ b/libpurple/roomlist.c	Sun Feb 23 02:40:51 2014 +0530
@@ -687,14 +687,6 @@
 	return ops_new;
 }
 
-static void
-purple_roomlist_ui_ops_free(PurpleRoomlistUiOps *ops)
-{
-	g_return_if_fail(ops != NULL);
-
-	g_free(ops);
-}
-
 GType
 purple_roomlist_ui_ops_get_type(void)
 {
@@ -703,7 +695,7 @@
 	if (type == 0) {
 		type = g_boxed_type_register_static("PurpleRoomlistUiOps",
 				(GBoxedCopyFunc)purple_roomlist_ui_ops_copy,
-				(GBoxedFreeFunc)purple_roomlist_ui_ops_free);
+				(GBoxedFreeFunc)g_free);
 	}
 
 	return type;

mercurial