gplugin/gplugin

Make GPluginManager a final type

2021-10-12, Gary Kramlich
a1b0fd07c7f1
Make GPluginManager a final type

* Use g_signal_new_class_handler to handle the accumulator based signals
* Remove the optional struct offset for the non accumulator based signals
* This all fixes the warnings from vapigen as well

Testing Done:
Ran the unit tests, gplugin-query, and gplugin-gtk3-viewer without issue.

Reviewed at https://reviews.imfreedom.org/r/1028/
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