gplugin/gplugin

Fix a few of our failing ci issues

2020-09-22, Gary Kramlich
0f07cacab39d
Fix a few of our failing ci issues

g_queue_clear_full was added in 2.60 but we only require 2.40

clang-format some files that were missing it.

Clean up the paths variable from command line parsing

Fix some leaks that the signal test caused and found

Testing Done:
Ran the valgrind convey plan. It still fails, mostly related to https://issues.imfreedom.org/issue/GPLUGIN-117.

Reviewed at https://reviews.imfreedom.org/r/130/
if get_option('vapi')
e = executable('test-vala-loading', 'test-vala-loading.c',
include_directories : include_directories('.'),
c_args : [
'-DVALA_PLUGIN_DIR="@0@/plugins"'.format(meson.current_build_dir()),
],
link_with : gplugin_loader_tests,
dependencies : [GLIB, GOBJECT, gplugin_dep])
test('Vala loading', e)
e = executable('test-genie-loading', 'test-genie-loading.c',
include_directories : include_directories('.'),
c_args : [
'-DGENIE_PLUGIN_DIR="@0@/genie-plugins"'.format(meson.current_build_dir()),
],
link_with : gplugin_loader_tests,
dependencies : [GLIB, GOBJECT, gplugin_dep])
test('Genie loading', e)
subdir('genie-plugins')
subdir('plugins')
endif # vapi