comparison console/gntrequest.c @ 14226:b02b7017930f

[gaim-migrate @ 16907] Fix a warning: gntrequest.c:250: warning: ISO C90 forbids mixed declarations and code Amazing what a stray semicolon can do committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 20 Aug 2006 17:10:15 +0000
parents c65ed4f6eea8
children 1bd09d355f9e
comparison
equal deleted inserted replaced
14225:eec43f2ef633 14226:b02b7017930f
244 int value = (text && *text) ? atoi(text) : 0; 244 int value = (text && *text) ? atoi(text) : 0;
245 gaim_request_field_int_set_value(field, value); 245 gaim_request_field_int_set_value(field, value);
246 } 246 }
247 else if (type == GAIM_REQUEST_FIELD_CHOICE) 247 else if (type == GAIM_REQUEST_FIELD_CHOICE)
248 { 248 {
249 GntWidget *combo = field->ui_data;; 249 GntWidget *combo = field->ui_data;
250 int id; 250 int id;
251 id = GPOINTER_TO_INT(gnt_combo_box_get_selected_data(GNT_COMBO_BOX(combo))); 251 id = GPOINTER_TO_INT(gnt_combo_box_get_selected_data(GNT_COMBO_BOX(combo)));
252 gaim_request_field_choice_set_value(field, id); 252 gaim_request_field_choice_set_value(field, id);
253 } 253 }
254 else if (type == GAIM_REQUEST_FIELD_LIST) 254 else if (type == GAIM_REQUEST_FIELD_LIST)