libpurple/buddylist.c

branch
soc.2013.gobjectification
changeset 34767
38a5613c3e26
parent 34760
062535fbe1e9
child 34769
427725f8ed54
--- a/libpurple/buddylist.c	Sat Jul 13 22:31:27 2013 +0530
+++ b/libpurple/buddylist.c	Sat Jul 13 22:35:17 2013 +0530
@@ -55,7 +55,7 @@
 static guint          save_timer = 0;
 static gboolean       blist_loaded = FALSE;
 
-PurpleBListNode *purple_blist_get_last_child(PurpleBListNode *node);
+PurpleBListNode *_purple_blist_get_last_child(PurpleBListNode *node);
 
 /*********************************************************************
  * Private utility functions                                         *
@@ -71,7 +71,7 @@
 	return n;
 }
 
-PurpleBListNode *purple_blist_get_last_child(PurpleBListNode *node)
+PurpleBListNode *_purple_blist_get_last_child(PurpleBListNode *node)
 {
 	if (!node)
 		return NULL;
@@ -484,7 +484,7 @@
 
 	buddy = purple_buddy_new(account, name, alias);
 	purple_blist_add_buddy(buddy, contact, group,
-			purple_blist_get_last_child((PurpleBListNode*)contact));
+			_purple_blist_get_last_child((PurpleBListNode*)contact));
 
 	for (x = xmlnode_get_child(bnode, "setting"); x; x = xmlnode_get_next_twin(x)) {
 		parse_setting((PurpleBListNode*)buddy, x);
@@ -502,7 +502,7 @@
 	const char *alias;
 
 	purple_blist_add_contact(contact, group,
-			purple_blist_get_last_child((PurpleBListNode*)group));
+			_purple_blist_get_last_child((PurpleBListNode*)group));
 
 	if ((alias = xmlnode_get_attrib(cnode, "alias"))) {
 		purple_contact_set_alias(contact, alias);
@@ -559,7 +559,7 @@
 
 	chat = purple_chat_new(account, alias, components);
 	purple_blist_add_chat(chat, group,
-			purple_blist_get_last_child((PurpleBListNode*)group));
+			_purple_blist_get_last_child((PurpleBListNode*)group));
 
 	for (x = xmlnode_get_child(cnode, "setting"); x; x = xmlnode_get_next_twin(x)) {
 		parse_setting((PurpleBListNode*)chat, x);
@@ -932,7 +932,7 @@
 		}
 		c = purple_contact_new();
 		purple_blist_add_contact(c, g,
-				purple_blist_get_last_child((PurpleBListNode*)g));
+				_purple_blist_get_last_child((PurpleBListNode*)g));
 	}
 
 	cnode = PURPLE_BLIST_NODE(c);

mercurial