diff src/prefs.c @ 4695:4bdd9a5fd026

[gaim-migrate @ 5006] This may very well have issues, but it's a slightly better core/ui split, removing global variables and fixing some GTK+ runtime errors and a couple segfaults. It's some progress. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 10 Mar 2003 18:16:29 +0000
parents 283fb289c510
children 4be12ff42986
line wrap: on
line diff
--- a/src/prefs.c	Mon Mar 10 16:39:46 2003 +0000
+++ b/src/prefs.c	Mon Mar 10 18:16:29 2003 +0000
@@ -1966,12 +1966,16 @@
 
 static void set_blist_option(GtkWidget *w, int option)
 {
+	struct gaim_gtk_buddy_list *gtkblist;
+
+	gtkblist = GAIM_GTK_BLIST(gaim_get_blist());
+
 	blist_options ^= option;
 	
 	if (!gtkblist)
 		return;
 	
-	gaim_gtk_blist_refresh(gaimbuddylist);
+	gaim_gtk_blist_refresh(gaim_get_blist());
 
 }