From a5e3ff70e547de3dc2d2bd32f06b7eaa16b8b422 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 7 Jul 2003 11:31:29 +0000 Subject: Gtk2::CheckButton does not support stock item (gc) --- 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 f3af1e0b9..b636cc0c2 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -419,7 +419,7 @@ sub ask_fromW { if ($e->{image}) { $w = gtkadd(Gtk2::CheckButton->new, gtkshow(gtkcreate_img($e->{image}))); } else { - $w = Gtk2::CheckButton->new_from_stock($e->{text}); + $w = Gtk2::CheckButton->new($e->{text}); } $w->signal_connect(clicked => $changed); $set = sub { $w->set_active($_[0]) }; -- cgit v1.2.1