| 760 g_return_val_if_fail(field->type == GAIM_REQUEST_FIELD_LIST, NULL); |
760 g_return_val_if_fail(field->type == GAIM_REQUEST_FIELD_LIST, NULL); |
| 761 |
761 |
| 762 return field->u.list.items; |
762 return field->u.list.items; |
| 763 } |
763 } |
| 764 |
764 |
| |
765 GaimRequestField * |
| |
766 gaim_request_field_label_new(const char *id, const char *text) |
| |
767 { |
| |
768 GaimRequestField *field; |
| |
769 |
| |
770 g_return_val_if_fail(id != NULL, NULL); |
| |
771 g_return_val_if_fail(text != NULL, NULL); |
| |
772 |
| |
773 field = gaim_request_field_new(id, text, GAIM_REQUEST_FIELD_LABEL); |
| |
774 |
| |
775 return field; |
| |
776 } |
| |
777 |
| 765 /* -- */ |
778 /* -- */ |
| 766 |
779 |
| 767 void * |
780 void * |
| 768 gaim_request_input(void *handle, const char *title, const char *primary, |
781 gaim_request_input(void *handle, const char *title, const char *primary, |
| 769 const char *secondary, const char *default_value, |
782 const char *secondary, const char *default_value, |