diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-08-02 15:11:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-08-02 15:11:15 +0000 |
commit | 7caab16af421c04faa828f8c779f3a6dc96d4da5 (patch) | |
tree | 6d5130613f75ac325afc92b732ea541b43c06e16 /perl-install/Xconfigurator.pm | |
parent | a980fe57b7f9de48d39778d3ff39da87a2e81987 (diff) | |
download | drakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar drakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar.gz drakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar.bz2 drakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.tar.xz drakx-backup-do-not-use-7caab16af421c04faa828f8c779f3a6dc96d4da5.zip |
instead of testing if ref($in) or ref($o) contains /gtk/, test if interactive_gtk is in ISA of the object
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r-- | perl-install/Xconfigurator.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm index 5a5954752..e15a5c899 100644 --- a/perl-install/Xconfigurator.pm +++ b/perl-install/Xconfigurator.pm @@ -804,7 +804,7 @@ sub chooseResolutionsGtk($$;$) { } sub chooseResolutions($$;$) { - goto &chooseResolutionsGtk if ref($in) =~ /gtk/; + goto &chooseResolutionsGtk if $in->isa('interactive_gtk'); my ($card, $chosen_depth, $chosen_w) = @_; |