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/
xmppdisco_SOURCES = [
'gtkdisco.c',
'gtkdisco.h',
'xmppdisco.c',
'xmppdisco.h'
]
if PLUGINS
xmppdisco_resource = gnome.compile_resources('xmppdiscoresources',
'resources/xmppdisco.gresource.xml',
source_dir : 'resources',
c_name : 'xmppdisco')
xmppdisco_SOURCES += xmppdisco_resource
xmppdisco = library('xmppdisco', xmppdisco_SOURCES,
dependencies : [libpurple_dep, libpidgin_dep, glib],
name_prefix : '',
install : true, install_dir : PIDGIN_PLUGINDIR)
endif