[gaim-migrate @ 15744]

Wed, 01 Mar 2006 13:23:35 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Wed, 01 Mar 2006 13:23:35 +0000
changeset 13372
dbbea75c28d8
parent 13371
b8018658174e
child 13373
c92b0e801f01

[gaim-migrate @ 15744]
fix C99-ism

src/gtkutils.c file | annotate | diff | comparison | revisions
--- 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")) {

mercurial