console/gntrequest.c

changeset 14260
a21577fbb4d2
parent 14126
176d35315165
child 14288
2dda820d3d96
equal deleted inserted replaced
14259:9e8daf211e10 14260:a21577fbb4d2
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;

mercurial