diff plugins/gevolution/gevo-util.c @ 11643:eb14bbcf7249

[gaim-migrate @ 13920] sf patch #1293063, from John Bailey Move and rename some functions from server.c to the account API. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 12 Oct 2005 02:47:31 +0000
parents 17142948653e
children a0a4b44239e8
line wrap: on
line diff
--- a/plugins/gevolution/gevo-util.c	Wed Oct 12 02:27:32 2005 +0000
+++ b/plugins/gevolution/gevo-util.c	Wed Oct 12 02:47:31 2005 +0000
@@ -43,7 +43,7 @@
 
 	buddy = gaim_buddy_new(account, screenname, alias);
 	gaim_blist_add_buddy(buddy, NULL, group, NULL);
-	serv_add_buddy(gaim_account_get_connection(account), buddy);
+	gaim_account_add_buddy(account, buddy);
 
 	if (conv != NULL)
 	{