From fe0dfffe710d3cc77fa31e87ff1f17d3c47b7a8c Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 11 Sep 2003 19:22:24 +0000 Subject: don't pack_end two times a button, this causes a Gtk Critical and we never know what can happen after that :/ --- perl-install/ugtk2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/ugtk2.pm') diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 8918c14c8..3ef09e956 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -493,7 +493,7 @@ sub create_okcancel { my $box = create_hbox($o_spread || "edge"); $box->pack_start($_, 0, 0, 1) foreach @l2; - $box->pack_end($_, 0, 0, 1) foreach @r2, @l; + $box->pack_end($_, 0, 0, 1) foreach uniq(@r2, @l); foreach (@l2, @r2, @l) { $_->show; $_->can_default($wizard_buttons); -- cgit v1.2.1