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('gtk3')
gplugin_gtk_viewer_resources = gnome.compile_resources(
'gplugin-gtk-viewer-resources',
'data/gplugin-gtk-viewer.gresource.xml',
c_name: 'gplugin_gtk_viewer',
source_dir: 'data')
gplugin_gtk_viewer = executable('gplugin-gtk-viewer',
'gplugin-gtk-viewer.c',
'gplugin-gtk-viewer-window.c',
'gplugin-gtk-viewer-window.h',
dependencies : [gplugin_dep, gplugin_gtk_dep],
install : true
)
if get_option('help2man')
gplugin_gtk_viewer_man = custom_target('gplugin-gtk-viewer.1',
command : [help2man,
'--name=View installed plugins', '--section=1',
'--help-option=--help-all', '--no-info',
'--output', '@OUTPUT@',
gplugin_gtk_viewer],
output : 'gplugin-gtk-viewer.1',
install : true,
install_dir : get_option('mandir') / 'man1')
endif
endif