console/gntrequest.c

changeset 14288
2dda820d3d96
parent 14260
a21577fbb4d2
child 14413
bd998fe17d82
equal deleted inserted replaced
14287:69c011c59cc9 14288:2dda820d3d96
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)

mercurial