From 7caab16af421c04faa828f8c779f3a6dc96d4da5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 2 Aug 2001 15:11:15 +0000 Subject: instead of testing if ref($in) or ref($o) contains /gtk/, test if interactive_gtk is in ISA of the object --- perl-install/services.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/services.pm') diff --git a/perl-install/services.pm b/perl-install/services.pm index 44a915adf..d1d9ab783 100644 --- a/perl-install/services.pm +++ b/perl-install/services.pm @@ -239,7 +239,7 @@ sub ask_standalone_gtk { sub ask { my ($in, $prefix) = @_; - !$::isInstall && ref($in) =~ /gtk/ ? &ask_standalone_gtk : &ask_install; + !$::isInstall && $in->isa('interactive_gtk') ? &ask_standalone_gtk : &ask_install; } sub doit { -- cgit v1.2.1