summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-19 15:03:30 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-19 15:03:30 +0000
commit9bc3dca14ac38394915fbd4fdea045a06476d27a (patch)
tree76aa6efc713779f48691a13b8e049e18a54a0dbc /perl-install
parent165f437ab7fe376afebe65ee3b7b6257e7be95b7 (diff)
downloaddrakx-9bc3dca14ac38394915fbd4fdea045a06476d27a.tar
drakx-9bc3dca14ac38394915fbd4fdea045a06476d27a.tar.gz
drakx-9bc3dca14ac38394915fbd4fdea045a06476d27a.tar.bz2
drakx-9bc3dca14ac38394915fbd4fdea045a06476d27a.tar.xz
drakx-9bc3dca14ac38394915fbd4fdea045a06476d27a.zip
((_create_Window) explain
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/mygtk2.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index f654b18da..9289285d0 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -1028,6 +1028,8 @@ sub _create_Window {
$w->signal_connect(size_allocate => sub {
my (undef, $event) = @_;
my @w_size = $event->values;
+
+ # ignore bogus sizing events:
return if $w_size[2] < 5;
return if $w_size[2] == $wi && $w_size[3] == $he; #BUG
(undef, undef, $wi, $he) = @w_size;