diff src/dialogs.c @ 4978:307c16c4b57e

[gaim-migrate @ 5313] (08:55:48) Robot101: patch to: (08:56:07) Robot101: * make online buddies appear black, not grey, when you have 'show offline buddies' turned on (08:56:21) Robot101: * random cleanup in buddy.c (tooltip/timer freeing) (08:56:43) Robot101: * stop the add buddy dialog resetting your choice of group when you choose an account (08:57:03) Robot101: * fix little memleak when loading the default window icon (08:57:16) Robot101: * make the main window use the default instead of loading the same icon itself (08:57:42) Robot101: * make the manual browser pref validate and save when the entry widget loses focus, not with a crappy button committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 03 Apr 2003 14:05:43 +0000
parents 503f61301b81
children 8e55a4d362a3
line wrap: on
line diff
--- a/src/dialogs.c	Thu Apr 03 14:04:02 2003 +0000
+++ b/src/dialogs.c	Thu Apr 03 14:05:43 2003 +0000
@@ -956,7 +956,7 @@
 }
 
 
-static GList *groups_tree(struct gaim_connection *gc)
+static GList *groups_tree()
 {
 	GList *tmp = NULL;
 	char *tmp2;
@@ -1047,9 +1047,6 @@
 
 	/* Save our account */
 	b->gc = gc;
-
-	/* We also want to update our group list */	
-	gtk_combo_set_popdown_strings(GTK_COMBO(b->combo), groups_tree(gc));
 }
 
 static void create_online_user_names(struct addbuddy *b)
@@ -1181,7 +1178,7 @@
 	gtk_table_attach_defaults(GTK_TABLE(table), label, 0, 1, 2, 3);
 
 	a->combo = gtk_combo_new();
-	gtk_combo_set_popdown_strings(GTK_COMBO(a->combo), groups_tree(a->gc));
+	gtk_combo_set_popdown_strings(GTK_COMBO(a->combo), groups_tree());
 	gtk_table_attach_defaults(GTK_TABLE(table), a->combo, 1, 2, 2, 3);
 
 	/* Set up stuff for the account box */