gplugin/gplugin

Remove volatile from variable for g_once_init_*.

2021-05-26, Elliott Sales de Andrade
62405791d543
Remove volatile from variable for g_once_init_*.

This causes a warning with GLib 2.67 and GCC 11.

Testing Done:
Compiled and saw no warnings.

Reviewed at https://reviews.imfreedom.org/r/672/
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 : get_option('install-gplugin-gtk-viewer')
)
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 : get_option('install-gplugin-gtk-viewer'),
install_dir : get_option('mandir') / 'man1')
endif
endif