/soc/2013/ankitkv/gobjectification: 1d5b47394a6f: Removed an unn...

Ankit Vani a at nevitus.org
Tue Sep 3 19:22:39 EDT 2013


Changeset: 1d5b47394a6f54de14c6de41044b0900643d73a1
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-09-04 04:39 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/1d5b47394a6f

Description:

Removed an unnecessary interface assignment

diffstat:

 libpurple/protocols/yahoo/yahoojp.c |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (15 lines):

diff --git a/libpurple/protocols/yahoo/yahoojp.c b/libpurple/protocols/yahoo/yahoojp.c
--- a/libpurple/protocols/yahoo/yahoojp.c
+++ b/libpurple/protocols/yahoo/yahoojp.c
@@ -122,10 +122,7 @@ yahoojp_protocol_base_init(YahooJPProtoc
 static void
 yahoojp_protocol_interface_init(PurpleProtocolInterface *iface)
 {
-	iface->get_account_text_table   = yahoojp_get_account_text_table;
-
-	/* disable yahoo functions not available for yahoojp */
-	iface->can_receive_file         = NULL;
+	iface->get_account_text_table = yahoojp_get_account_text_table;
 }
 
 static void yahoojp_protocol_base_finalize(YahooJPProtocolClass *klass) { }



More information about the Commits mailing list