From 11cc03b454eef6365daa592b411433866fe2539a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 6 Nov 2013 22:48:02 +0100 Subject: load Gtk3::WebKit when needed, thus fixing help during install also initialize introspection by explicitely importing it --- perl-install/mygtk3.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install') diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm index 24cafc46f..726524032 100644 --- a/perl-install/mygtk3.pm +++ b/perl-install/mygtk3.pm @@ -596,6 +596,8 @@ sub _gtk__TextView { sub _gtk__WebKit_View { my ($w, $opts, $_class, $_action) = @_; if (!$w) { + require Gtk3::WebKit; + Gtk3::WebKit->import; # needed for initializing introspection $w = Gtk3::WebKit::WebView->new; } -- cgit v1.2.1