gobjectification: 3391666d: Moved blist-node init stuff

aluink at soc.pidgin.im aluink at soc.pidgin.im
Thu Jul 2 12:10:46 EDT 2009


-----------------------------------------------------------------
Revision: 3391666d57387c90af083b39a9f67b0b9baba5c0
Ancestor: b84987a37739dcdbfdcb30fac697fe20619713ef
Author: aluink at soc.pidgin.im
Date: 2009-07-02T16:06:30
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/3391666d57387c90af083b39a9f67b0b9baba5c0

Modified files:
        libpurple/blist-node.c libpurple/buddy.c libpurple/chat.c
        libpurple/contact.c libpurple/group.c

ChangeLog: 

Moved blist-node init stuff

-------------- next part --------------
============================================================
--- libpurple/blist-node.c	de40b40783991631ab388100a5db7e96c4ca92b6
+++ libpurple/blist-node.c	77ad35eeadce5ab613c629217b4092b871c84507
@@ -415,7 +415,7 @@ purple_blist_node_init(GTypeInstance *in
 static void
 purple_blist_node_init(GTypeInstance *instance, gpointer class)
 {
-
+	purple_blist_node_initialize_settings((PurpleBlistNode *)contact);
 }
 
 GType
============================================================
--- libpurple/buddy.c	5697063f68626e980c58a4801a32f8415044387b
+++ libpurple/buddy.c	a7848e6814078189a125da2da1fc63f08e0fc3fe
@@ -568,8 +568,6 @@ purple_buddy_init(GTypeInstance *instanc
 
 	purple_presence_set_status_active(buddy->presence, "offline", TRUE);
 
-	purple_blist_node_initialize_settings((PurpleBlistNode *)buddy);
-
 	if (ops && ops->new_node)
 		ops->new_node((PurpleBlistNode *)buddy);
 
============================================================
--- libpurple/chat.c	53c710db60e9c8fc05d2f5904f70162075bbb6b6
+++ libpurple/chat.c	8d716443b3bffeba4a46fa7e1ca5961acb6be40d
@@ -346,8 +346,6 @@ purple_chat_init(GTypeInstance *instance
 	PurpleBlistUiOps *ops = purple_blist_get_ui_ops();
 	PurpleChat *chat = PURPLE_CHAT(instance);
 
-	purple_blist_node_initialize_settings((PurpleBlistNode *)chat);
-
 	if (ops != NULL && ops->new_node != NULL)
 		ops->new_node((PurpleBlistNode *)chat);
 
============================================================
--- libpurple/contact.c	bf48333cba00dd7b3bf2816b3e49618bc07a6ea6
+++ libpurple/contact.c	1fe1a5505fd75860d5165a587b9ad8bb657acd77
@@ -294,7 +294,6 @@ purple_contact_init(GTypeInstance *insta
 	contact->totalsize = 0;
 	contact->currentsize = 0;
 	contact->online = 0;
-	purple_blist_node_initialize_settings((PurpleBlistNode *)contact);
 
 	if (ops && ops->new_node)
 		ops->new_node((PurpleBlistNode *)contact);
============================================================
--- libpurple/group.c	abbcaeafc7b2f774c5a9046ed3ea8edcf73c5b6b
+++ libpurple/group.c	3b40e9fd2c263c62ef3810577ed2163bb0e3a28c
@@ -369,7 +369,6 @@ purple_group_init(GTypeInstance *instanc
 	group->totalsize = 0;
 	group->currentsize = 0;
 	group->online = 0;
-	purple_blist_node_initialize_settings((PurpleBlistNode *)group);
 
 	if (ops && ops->new_node)
 		ops->new_node((PurpleBlistNode *)group);


More information about the Commits mailing list