qulogic/gplugin

A few updates to cleanup a bunch of code in libpurple.
feature/unload-failed-state
2020-04-10, Gary Kramlich
5a05c6354d62
A few updates to cleanup a bunch of code in libpurple.

* Add a new plugin state UNLOAD_FAILED that tracks when a plugin failed to
unload.
* Add a new signal GPluginManager::unload-plugin-failed
* Update GPluginManager::load-failed to pass the error, if any, that the
plugin returned.
* Added gplugin_manager_foreach and GPluginManagerForeachFunc to make it
easier to operate on all plugins.
if get_option('perl')
e = executable('test-perl-loader', 'test-perl-loader.c',
c_args : [
'-DPERL_LOADER_DIR="@0@/.."'.format(meson.current_build_dir()),
'-DPERL_PLUGIN_DIR="@0@/plugins"'.format(meson.current_source_dir()),
],
link_with : gplugin_loader_tests,
dependencies : [GLIB, GOBJECT, gplugin_dep, perl_dep])
test('Perl Loader', e)
endif # perl