From e503995888c8fb7ab797b667e8a075ffd5f3c29a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 18 Jul 2003 19:59:16 +0000 Subject: only catch real wrong callees --- perl-install/interactive/gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index eafbf1122..db5327981 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -408,7 +408,7 @@ sub ask_fromW { if ($e->{image}) { $w = gtkadd(Gtk2::CheckButton->new, gtkshow(gtkcreate_img($e->{image}))); } else { - warn "\"text\" member should have been used instead of \"label\" one at:\n", common::backtrace(), "\n" if $e->{label}; + warn "\"text\" member should have been used instead of \"label\" one at:\n", common::backtrace(), "\n" if $e->{label} && !$e->{text}; $w = Gtk2::CheckButton->new($e->{text}); } $w->signal_connect(clicked => $changed); -- cgit v1.2.1