summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk3.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-06 22:48:02 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 23:28:15 +0100
commit11cc03b454eef6365daa592b411433866fe2539a (patch)
treebb02734901228728840742290ad8a982f5e6ad1d /perl-install/mygtk3.pm
parent30621d2ac12fafb5e07b601a78d5a40e07316c3d (diff)
downloaddrakx-11cc03b454eef6365daa592b411433866fe2539a.tar
drakx-11cc03b454eef6365daa592b411433866fe2539a.tar.gz
drakx-11cc03b454eef6365daa592b411433866fe2539a.tar.bz2
drakx-11cc03b454eef6365daa592b411433866fe2539a.tar.xz
drakx-11cc03b454eef6365daa592b411433866fe2539a.zip
load Gtk3::WebKit when needed, thus fixing help during install
also initialize introspection by explicitely importing it
Diffstat (limited to 'perl-install/mygtk3.pm')
-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;
}