/soc/2013/ankitkv/gobjectification: 8647eee83ed3: Removed _destr...

Ankit Vani a at nevitus.org
Wed Jul 3 14:39:37 EDT 2013


Changeset: 8647eee83ed3f34e5082279cf9d6a9da97cfc9ea
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-07-04 00:09 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/8647eee83ed3

Description:

Removed _destroy() functions for blist and blist nodes

diffstat:

 libpurple/blist.h                          |  38 ------------------------------
 libpurple/plugins/perl/common/BuddyList.xs |   3 --
 2 files changed, 0 insertions(+), 41 deletions(-)

diffs (89 lines):

diff --git a/libpurple/blist.h b/libpurple/blist.h
--- a/libpurple/blist.h
+++ b/libpurple/blist.h
@@ -469,16 +469,6 @@ void purple_blist_node_set_ui_data(Purpl
  */
 void purple_blist_show(void);
 
-
-/**
- * Destroys the buddy list window.
- *
- * @deprecated The UI is responsible for cleaning up the
- *             PurpleBuddyList->ui_data. purple_blist_uninit() will free the
- *             PurpleBuddyList* itself.
- */
-void purple_blist_destroy(void);
-
 /**
  * Hides or unhides the buddy list.
  *
@@ -565,13 +555,6 @@ void purple_blist_rename_group(PurpleGro
 PurpleChat *purple_chat_new(PurpleAccount *account, const char *alias, GHashTable *components);
 
 /**
- * Destroys a chat
- *
- * @param chat       The chat to destroy
- */
-void purple_chat_destroy(PurpleChat *chat);
-
-/**
  * Adds a new chat to the buddy list.
  *
  * The chat will be inserted right after node or appended to the end
@@ -602,13 +585,6 @@ void purple_blist_add_chat(PurpleChat *c
 PurpleBuddy *purple_buddy_new(PurpleAccount *account, const char *name, const char *alias);
 
 /**
- * Destroys a buddy
- *
- * @param buddy     The buddy to destroy
- */
-void purple_buddy_destroy(PurpleBuddy *buddy);
-
-/**
  * Sets a buddy's icon.
  *
  * This should only be called from within Purple. You probably want to
@@ -733,13 +709,6 @@ void purple_blist_add_buddy(PurpleBuddy 
 PurpleGroup *purple_group_new(const char *name);
 
 /**
- * Destroys a group
- *
- * @param group  The group to destroy
-*/
-void purple_group_destroy(PurpleGroup *group);
-
-/**
  * Adds a new group to the buddy list.
  *
  * The new group will be inserted after insert or prepended to the list if
@@ -758,13 +727,6 @@ void purple_blist_add_group(PurpleGroup 
 PurpleContact *purple_contact_new(void);
 
 /**
- * Destroys a contact
- *
- * @param contact  The contact to destroy
- */
-void purple_contact_destroy(PurpleContact *contact);
-
-/**
  * Gets the PurpleGroup from a PurpleContact
  *
  * @param contact  The contact
diff --git a/libpurple/plugins/perl/common/BuddyList.xs b/libpurple/plugins/perl/common/BuddyList.xs
--- a/libpurple/plugins/perl/common/BuddyList.xs
+++ b/libpurple/plugins/perl/common/BuddyList.xs
@@ -157,9 +157,6 @@ void
 purple_blist_show()
 
 void
-purple_blist_destroy();
-
-void
 purple_blist_set_visible(show)
 	gboolean show
 



More information about the Commits mailing list