comparison console/gntrequest.c @ 14198:c65ed4f6eea8

[gaim-migrate @ 16870] Do the right thing: remove the compile warnings. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 19 Aug 2006 03:38:23 +0000
parents fec4fadf30c9
children b02b7017930f
comparison
equal deleted inserted replaced
14197:f1270dc1d9d2 14198:c65ed4f6eea8
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 = GPOINTER_TO_INT(gnt_combo_box_get_selected_data(GNT_COMBO_BOX(combo))); 250 int id;
251 id = GPOINTER_TO_INT(gnt_combo_box_get_selected_data(GNT_COMBO_BOX(combo)));
251 gaim_request_field_choice_set_value(field, id); 252 gaim_request_field_choice_set_value(field, id);
252 } 253 }
253 else if (type == GAIM_REQUEST_FIELD_LIST) 254 else if (type == GAIM_REQUEST_FIELD_LIST)
254 { 255 {
255 GList *list = NULL; 256 GList *list = NULL;