im.pidgin.pidgin: e9bc260dad36332e2b8f90691c700cab2b50bfc1

markdoliner at pidgin.im markdoliner at pidgin.im
Sun Feb 3 14:41:05 EST 2008


-----------------------------------------------------------------
Revision: e9bc260dad36332e2b8f90691c700cab2b50bfc1
Ancestor: 51b239b14b22e651848b193b8bad9c1ec5cc0afa
Author: markdoliner at pidgin.im
Date: 2008-02-03T19:24:55
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/e9bc260dad36332e2b8f90691c700cab2b50bfc1

Modified files:
        libpurple/protocols/simple/simple.c

ChangeLog: 

Remove some empty PRPL callbacks

-------------- next part --------------
============================================================
--- libpurple/protocols/simple/simple.c	550bf26db8a28bc30f45e86aa3527dc91403c2f9
+++ libpurple/protocols/simple/simple.c	dedb5a17539196a0240a92ac86947dee2bc27768
@@ -1983,13 +1983,6 @@ static void simple_close(PurpleConnectio
 	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 @@ static PurplePluginProtocolInfo prpl_inf
 	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 */


More information about the Commits mailing list