changeset 4471:c43c91ecb261

[gaim-migrate @ 4746] Using aim_user instead of gaim_connection. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 30 Jan 2003 09:47:01 +0000
parents c800ce24c571
children e73c4e8e2d03
files src/conversation.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Thu Jan 30 09:36:32 2003 +0000
+++ b/src/conversation.c	Thu Jan 30 09:47:01 2003 +0000
@@ -1121,18 +1121,18 @@
 void
 gaim_conversation_autoset_title(struct gaim_conversation *conv)
 {
-	struct gaim_connection *gc;
+	struct aim_user *user;
 	struct buddy *b;
 	const char *text, *name;
 
 	if (conv == NULL)
 		return;
 
-	gc   = gaim_conversation_get_gc(conv);
+	user = gaim_conversation_get_user(conv);
 	name = gaim_conversation_get_name(conv);
 
 	if (((im_options & OPT_IM_ALIAS_TAB) == OPT_IM_ALIAS_TAB) &&
-		gc != NULL && ((b = find_buddy(gc->user, name)) != NULL)) {
+		user != NULL && ((b = find_buddy(user, name)) != NULL)) {
 
 		text = get_buddy_alias(b);
 	}