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/
if PLUGINS
if x11.found()
gntclipboard = library('gntclipboard', 'gntclipboard.c',
dependencies : [x11, libpurple_dep, libfinch_dep, glib],
name_prefix : '',
install : true, install_dir : FINCH_PLUGINDIR)
gntgf = library('gntgf', 'gntgf.c',
c_args : ncurses_header,
dependencies : [x11, libpurple_dep, libfinch_dep, ncurses, glib],
name_prefix : '',
install : true, install_dir : FINCH_PLUGINDIR)
endif
gnthistory = library('gnthistory', 'gnthistory.c',
dependencies : [libpurple_dep, libfinch_dep, glib],
name_prefix : '',
install : true, install_dir : FINCH_PLUGINDIR)
gntlastlog = library('gntlastlog', 'lastlog.c',
dependencies : [libpurple_dep, libfinch_dep, ncurses, glib],
name_prefix : '',
install : true, install_dir : FINCH_PLUGINDIR)
gnttinyurl = library('gnttinyurl', 'gnttinyurl.c',
dependencies : [libpurple_dep, libfinch_dep, libsoup, glib],
name_prefix : '',
install : true, install_dir : FINCH_PLUGINDIR)
grouping = library('grouping', 'grouping.c',
dependencies : [libpurple_dep, libfinch_dep, glib],
name_prefix : '',
install : true, install_dir : FINCH_PLUGINDIR)
endif # PLUGINS