--- a/src/gtkutils.c Wed Mar 01 13:20:59 2006 +0000 +++ b/src/gtkutils.c Wed Mar 01 13:23:35 2006 +0000 @@ -1885,9 +1885,10 @@ return TRUE; if (optmenu != NULL) { + GList *items; + guint index = 0; gaim_gtk_account_option_menu_set_selected(optmenu, account); - GList *items = GTK_MENU_SHELL(gtk_option_menu_get_menu(GTK_OPTION_MENU(optmenu)))->children; - guint index = 0; + items = GTK_MENU_SHELL(gtk_option_menu_get_menu(GTK_OPTION_MENU(optmenu)))->children; do { if (account == g_object_get_data(G_OBJECT(items->data), "account")) {