changeset 1074:2cff18c2f9c6

[gaim-migrate @ 1084] this was stupidity waiting to happen. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 07 Nov 2000 09:27:32 +0000
parents 6b013aff4de3
children 2fe18b2d6105
files src/dialogs.c src/multi.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Mon Nov 06 22:42:25 2000 +0000
+++ b/src/dialogs.c	Tue Nov 07 09:27:32 2000 +0000
@@ -1148,7 +1148,7 @@
 
 	if (b->user) {
 		g_snprintf(b->user->user_info, sizeof(b->user->user_info), "%s", junk);
-		gc = find_gaim_conn_by_name(b->user->username);
+		gc = b->user->gc;
 			
 		save_prefs();
 
--- a/src/multi.c	Mon Nov 06 22:42:25 2000 +0000
+++ b/src/multi.c	Tue Nov 07 09:27:32 2000 +0000
@@ -156,7 +156,7 @@
 	while (u) {
 		a = (struct aim_user *)u->data;
 		titles[0] = a->username;
-		titles[1] = find_gaim_conn_by_name(a->username) ? "Yes" : "No";
+		titles[1] = a->gc ? "Yes" : "No";
 		titles[2] = (a->options & OPT_USR_AUTO) ? "True" : "False";
 		titles[3] = proto_name(a->protocol);
 		i = gtk_clist_append(GTK_CLIST(list), titles);
@@ -240,7 +240,7 @@
 		u->protocol = tmpusr.protocol;
 		gtk_widget_destroy(newmod);
 		titles[0] = u->username;
-		titles[1] = find_gaim_conn_by_name(u->username) ? "Yes" : "No";
+		titles[1] = u->gc ? "Yes" : "No";
 		titles[2] = (u->options & OPT_USR_AUTO) ? "True" : "False";
 		titles[3] = proto_name(u->protocol);
 		i = gtk_clist_append(GTK_CLIST(list), titles);