Mercurial > pidgin.yaz
changeset 13371:1299f8f51b07
[gaim-migrate @ 15744]
fix C99-ism
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 01 Mar 2006 13:23:35 +0000 |
parents | cf292e05a6cc |
children | fb178093e364 |
files | src/gtkutils.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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")) {