summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r--perl-install/interactive.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 34ae7a4de..9d5c6c3f3 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -112,7 +112,10 @@ sub vnew {
}
require_root_capability() if $su;
if (check_for_xserver()) {
- eval { require interactive::gtk };
+ eval {
+ use Glib::Object::Introspection;
+ require interactive::gtk;
+ };
if (!$@) {
my $o = interactive::gtk->new;
if ($o_icon && $o_icon ne 'default' && !$::isWizard) { $o->{icon} = $o_icon } else { undef $o->{icon} }