summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/mygtk3.pm2
1 files changed, 2 insertions, 0 deletions
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;
}