changeset 22260:b13bb5f49ecd

Remove some empty PRPL callbacks
author Mark Doliner <mark@kingant.net>
date Sun, 03 Feb 2008 19:24:55 +0000
parents 6e5d37105189
children 79b30c9e5937
files libpurple/protocols/simple/simple.c
diffstat 1 files changed, 5 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/simple/simple.c	Sun Feb 03 17:37:58 2008 +0000
+++ b/libpurple/protocols/simple/simple.c	Sun Feb 03 19:24:55 2008 +0000
@@ -1983,13 +1983,6 @@
 	gc->proto_data = NULL;
 }
 
-/* not needed since privacy is checked for every subscribe */
-static void dummy_add_deny(PurpleConnection *gc, const char *name) {
-}
-
-static void dummy_permit_deny(PurpleConnection *gc) {
-}
-
 static PurplePluginProtocolInfo prpl_info =
 {
 	0,
@@ -2017,11 +2010,11 @@
 	NULL,					/* add_buddies */
 	simple_remove_buddy,	/* remove_buddy */
 	NULL,					/* remove_buddies */
-	dummy_add_deny,			/* add_permit */
-	dummy_add_deny,			/* add_deny */
-	dummy_add_deny,			/* rem_permit */
-	dummy_add_deny,			/* rem_deny */
-	dummy_permit_deny,		/* set_permit_deny */
+	NULL,					/* add_permit */
+	NULL,					/* add_deny */
+	NULL,					/* rem_permit */
+	NULL,					/* rem_deny */
+	NULL,					/* set_permit_deny */
 	NULL,					/* join_chat */
 	NULL,					/* reject_chat */
 	NULL,					/* get_chat_name */