# HG changeset patch # User Daniel Atallah # Date 1141219415 0 # Node ID 1299f8f51b070651c9b8a185f81cf12236ec0184 # Parent cf292e05a6ccdd500233b9969c57da1a3d330093 [gaim-migrate @ 15744] fix C99-ism committer: Tailor Script diff -r cf292e05a6cc -r 1299f8f51b07 src/gtkutils.c --- 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")) {