]> git.proxmox.com Git - pve-installer.git/commit - proxinstall
call Gtk3::init manually
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 8 Apr 2023 13:07:03 +0000 (15:07 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 9 Jun 2023 07:36:58 +0000 (09:36 +0200)
commit0387544f2d7aafa2f44bd14a4b656684ab381ebe
tree3bca8e158718fd5cdefde69a2920a224d6a9b12c
parent3edb53434091515b24ea08ed09a30475cdce6926
call Gtk3::init manually

When using the module -init switch, the init method was called in
module import method, which means every time this was loaded, even if
just for a quick syntax+ check using `perl -I. -wc`, failing then if
no X11 connection was available.

Calling this manually after module load finished should have no
consequences, and if, that should be fixed there, without going back
to doing GUI init in module load/import steps - that's just ugly.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
proxinstall