summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/ugtk2.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 9fd5fe589..0e665a0d3 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -129,8 +129,7 @@ sub gtksetstyle {
sub gtkradio {
my $def = shift;
my $radio;
- map { $radio = Gtk2::RadioButton->new($radio ? $radio->get_group : undef, $_);
- $radio->set_active($_ eq $def); $radio } @_;
+ map { gtkset_active($radio = Gtk2::RadioButton->new($radio ? $radio->get_group : undef, $_), $_ eq $def) } @_;
}
sub gtkroot {