pidgin/pidgin

b5eccef8404e
Avoid manual handling of icons in request field list items

* Use `PurpleKeyValuePair` as field list items
* Replace `icons` list with `has_icons` flag, thus fixing memleak
* Replace `purple_request_field_list_get_icons` with `purple_request_field_list_has_icons`

Testing Done:
Compile and run.

Reviewed at https://reviews.imfreedom.org/r/563/
subdir('keyrings')
subdir('notification-sound')
if PLUGINS
autoaccept = library('autoaccept', 'autoaccept.c',
dependencies : [libpurple_dep, glib],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
buddynote = library('buddynote', 'buddynote.c',
dependencies : [libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
idle = library('idle', 'idle.c',
dependencies : [libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
joinpart = library('joinpart', 'joinpart.c',
dependencies : [libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
log_reader = library('log_reader', 'log_reader.c',
dependencies : [libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
psychic = library('psychic', 'psychic.c',
dependencies : [libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
statenotify = library('statenotify', 'statenotify.c',
dependencies : [libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
purple_toast = library('purple-toast', 'purple-toast.c',
dependencies : [libpurple_dep],
name_prefix: '',
install : true, install_dir : PURPLE_PLUGINDIR)
endif # PLUGINS