Mercurial > pidgin
comparison libpurple/request.h @ 29428:cc1e35fa774d
Deprecate purple_request_field_list_add()
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 16 Nov 2008 10:33:36 +0000 |
parents | 50dbd779f1bb |
children | 5391094529c6 |
comparison
equal
deleted
inserted
replaced
29427:50dbd779f1bb | 29428:cc1e35fa774d |
---|---|
906 * @return The data associated with the item. | 906 * @return The data associated with the item. |
907 */ | 907 */ |
908 void *purple_request_field_list_get_data(const PurpleRequestField *field, | 908 void *purple_request_field_list_get_data(const PurpleRequestField *field, |
909 const char *text); | 909 const char *text); |
910 | 910 |
911 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_REQUEST_C_) | |
911 /** | 912 /** |
912 * Adds an item to a list field. | 913 * Adds an item to a list field. |
913 * | 914 * |
914 * @param field The list field. | 915 * @param field The list field. |
915 * @param item The list item. | 916 * @param item The list item. |
917 * | 918 * |
918 * @deprecated Use purple_request_field_list_add_icon() instead. | 919 * @deprecated Use purple_request_field_list_add_icon() instead. |
919 */ | 920 */ |
920 void purple_request_field_list_add(PurpleRequestField *field, | 921 void purple_request_field_list_add(PurpleRequestField *field, |
921 const char *item, void *data); | 922 const char *item, void *data); |
922 | 923 #endif |
923 /** | 924 |
924 * Adds an item with icon to a list field. | 925 /** |
926 * Adds an item to a list field. | |
925 * | 927 * |
926 * @param field The list field. | 928 * @param field The list field. |
927 * @param item The list item. | 929 * @param item The list item. |
928 * @param icon_path The path to icon file. | 930 * @param icon_path The path to icon file, or @c NULL for no icon. |
929 * @param data The associated data. | 931 * @param data The associated data. |
930 */ | 932 */ |
931 void purple_request_field_list_add_icon(PurpleRequestField *field, | 933 void purple_request_field_list_add_icon(PurpleRequestField *field, |
932 const char *item, const char* icon_path, void* data); | 934 const char *item, const char* icon_path, void* data); |
933 | 935 |