gobjectification: 7393f8bf: Remove some functions from the Perl plug...

qulogic at pidgin.im qulogic at pidgin.im
Sun Nov 8 03:31:26 EST 2009


-----------------------------------------------------------------
Revision: 7393f8bf7c2cf635e3eebd7e5f4fd9f85c56c275
Ancestor: 6d6aff525d0b6722890bc21d50fa43f11815298d
Author: qulogic at pidgin.im
Date: 2009-11-08T01:14:52
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/7393f8bf7c2cf635e3eebd7e5f4fd9f85c56c275

Modified files:
        libpurple/plugins/perl/common/BuddyList.xs
        libpurple/plugins/perl/common/module.h

ChangeLog: 

Remove some functions from the Perl plugin that don't exist anymore. On the
other hand, I'm not adding any of the new ones.

-------------- next part --------------
============================================================
--- libpurple/plugins/perl/common/BuddyList.xs	1598fdf5276bdc99bb8a6c767cd3e874e6f94511
+++ libpurple/plugins/perl/common/BuddyList.xs	397918d43f227f5a666e6e9404ff5a63f0ae5e4f
@@ -18,9 +18,6 @@ BOOT:
 		newCONSTSUB(stash, (char *)civ->name, newSViv(civ->iv));
 }
 
-Purple::BuddyList
-purple_get_blist()
-
 MODULE = Purple::BuddyList  PACKAGE = Purple::Find  PREFIX = purple_find_
 PROTOTYPES: ENABLE
 
@@ -109,44 +106,17 @@ void
 PROTOTYPES: ENABLE
 
 void
-purple_blist_add_contact(contact, group, node)
-	Purple::BuddyList::Contact contact
-	Purple::BuddyList::Group  group
-	Purple::BuddyList::Node node
-
-void
 purple_blist_merge_contact(source, node)
 	Purple::BuddyList::Contact source
 	Purple::BuddyList::Node node
 
 void
-purple_blist_add_group(group, node)
-	Purple::BuddyList::Group  group
-	Purple::BuddyList::Node node
-
-void
 purple_blist_add_buddy(buddy, contact, group, node)
 	Purple::BuddyList::Buddy buddy
 	Purple::BuddyList::Contact contact
 	Purple::BuddyList::Group  group
 	Purple::BuddyList::Node node
 
-void
-purple_blist_remove_buddy(buddy)
-	Purple::BuddyList::Buddy buddy
-
-void
-purple_blist_remove_contact(contact)
-	Purple::BuddyList::Contact contact
-
-void
-purple_blist_remove_chat(chat)
-	Purple::BuddyList::Chat chat
-
-void
-purple_blist_remove_group(group)
-	Purple::BuddyList::Group  group
-
 Purple::BuddyList::Chat
 purple_blist_find_chat(account, name)
 	Purple::Account account
@@ -158,9 +128,6 @@ purple_blist_add_chat(chat, group, node)
 	Purple::BuddyList::Group  group
 	Purple::BuddyList::Node node
 
-Purple::BuddyList
-purple_blist_new()
-
 void
 purple_blist_show()
 
@@ -181,11 +148,6 @@ void
 	Purple::BuddyList::Buddy buddy
 
 void
-purple_blist_rename_buddy(buddy, name)
-	Purple::BuddyList::Buddy buddy
-	const char * name
-
-void
 purple_buddy_set_alias(buddy, alias)
 	Purple::BuddyList::Buddy buddy
 	const char * alias
@@ -213,15 +175,6 @@ purple_blist_remove_account(account)
 purple_blist_remove_account(account)
 	Purple::Account account
 
-int
-purple_blist_get_group_size(group, offline)
-	Purple::BuddyList::Group  group
-	gboolean offline
-
-int
-purple_blist_get_group_online_count(group)
-	Purple::BuddyList::Group  group
-
 void
 purple_blist_load()
 
@@ -296,9 +249,8 @@ Purple::BuddyList::Node
 	Purple::BuddyList::Node node
 
 Purple::BuddyList::Node
-purple_blist_node_next(node, offline)
+purple_blist_node_next(node)
 	Purple::BuddyList::Node node
-	gboolean offline
 
 MODULE = Purple::BuddyList  PACKAGE = Purple::BuddyList::Chat  PREFIX = purple_chat_
 PROTOTYPES: ENABLE
============================================================
--- libpurple/plugins/perl/common/module.h	cf2396c10cd456b22f4b82013c84de8aee598b9a
+++ libpurple/plugins/perl/common/module.h	a6ee78b4fde2783f4d71d49b754f2efcdc31cd70
@@ -80,7 +80,6 @@ typedef PurpleBlistNodeFlags		Purple__Bu
 /* blist.h */
 typedef PurpleBlistNode *			Purple__BuddyList__Node;
 typedef PurpleBlistNodeFlags		Purple__BuddyList__NodeFlags;
-typedef PurpleBuddyList *			Purple__BuddyList;
 typedef PurpleBuddy *			Purple__BuddyList__Buddy;
 typedef PurpleChat *			Purple__BuddyList__Chat;
 typedef PurpleContact *			Purple__BuddyList__Contact;


More information about the Commits mailing list