summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfigurator.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r--perl-install/Xconfigurator.pm2
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) = @_;