comparison libpurple/request.h @ 29420:2d04fb25c6db

Revert the unnecessary addition of the pixbuf boolean to PurpleRequestField.list
author Richard Laager <rlaager@wiktel.com>
date Sun, 16 Nov 2008 08:16:17 +0000
parents 365b90fa23cf
children 50dbd779f1bb
comparison
equal deleted inserted replaced
29419:297d83036107 29420:2d04fb25c6db
150 GList *icons; 150 GList *icons;
151 GList *selected; 151 GList *selected;
152 GHashTable *selected_table; 152 GHashTable *selected_table;
153 153
154 gboolean multiple_selection; 154 gboolean multiple_selection;
155 gboolean pixbuf;
156 155
157 } list; 156 } list;
158 157
159 struct 158 struct
160 { 159 {
875 * @param text The optional label of the field. 874 * @param text The optional label of the field.
876 * 875 *
877 * @return The new field. 876 * @return The new field.
878 */ 877 */
879 PurpleRequestField *purple_request_field_list_new(const char *id, const char *text); 878 PurpleRequestField *purple_request_field_list_new(const char *id, const char *text);
880
881 /**
882 * Sets whether or not a list field allows icons.
883 *
884 * @param field The list field.
885 * @param multi_select TRUE if icons are enabled,
886 * or FALSE otherwise.
887 */
888 void purple_request_field_list_set_pixbuf(PurpleRequestField *field,
889 gboolean pixbuf);
890
891 /**
892 * Returns whether or not a list field allows icons.
893 *
894 * @param field The list field.
895 *
896 * @return TRUE if icons are enabled, or FALSE otherwise.
897 */
898 gboolean purple_request_field_list_get_pixbuf(
899 const PurpleRequestField *field);
900 879
901 /** 880 /**
902 * Sets whether or not a list field allows multiple selection. 881 * Sets whether or not a list field allows multiple selection.
903 * 882 *
904 * @param field The list field. 883 * @param field The list field.