From 496d0f575ddd93af1c6b49c0044581abfc9c8aa5 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 22 Jan 2004 20:37:47 +0000 Subject: (ask_fromW) gc prefers ->isa() --- perl-install/interactive/gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 73376389d..21b9550c6 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -588,7 +588,7 @@ sub ask_fromW { my (@widgets) = @_; gtkpack__(Gtk2::VBox->new, map { - $_->{real_w} =~ /Gtk2::CheckButton/ && !$_->{icon_w} && !$_->{e}{label} ? + $_->{real_w}->isa("Gtk2::CheckButton") && !$_->{icon_w} && !$_->{e}{label} ? $_->{real_w} : gtkpack_(Gtk2::HBox->new, 0, $_->{icon_w}, 0, gtkadd_widget($label_sizegrp, $_->{e}{label}), -- cgit v1.2.1