diff options
author | Mystery Man 580 <uid580@mandriva.org> | 2002-12-04 10:38:20 +0000 |
---|---|---|
committer | Mystery Man 580 <uid580@mandriva.org> | 2002-12-04 10:38:20 +0000 |
commit | e61c4d55d27253c200bd30f1ac6369f96d73756d (patch) | |
tree | 6afa678b959ec37610c4bdc52d0b68d1bbae8d3f /perl-install | |
parent | 73eacc0b2542d1f383635b7ab7dbdd8d576edcc4 (diff) | |
download | drakx-backup-do-not-use-e61c4d55d27253c200bd30f1ac6369f96d73756d.tar drakx-backup-do-not-use-e61c4d55d27253c200bd30f1ac6369f96d73756d.tar.gz drakx-backup-do-not-use-e61c4d55d27253c200bd30f1ac6369f96d73756d.tar.bz2 drakx-backup-do-not-use-e61c4d55d27253c200bd30f1ac6369f96d73756d.tar.xz drakx-backup-do-not-use-e61c4d55d27253c200bd30f1ac6369f96d73756d.zip |
reverse
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/ugtk2.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index ea06998ed..00b44ab1c 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -842,11 +842,11 @@ sub _create_window($$) { if ($::o->{mouse}{unsafe}) { $w->add_events('pointer-motion-mask'); - my $signal = $w->signal_connect(motion_notify_event => sub { - my ($sig) = @_; + my $signal; #- don't make this line part of next one, signal_disconnect won't be able to access $signal value + $signal = $w->signal_connect(motion_notify_event => sub { delete $::o->{mouse}{unsafe}; log::l("unsetting unsafe mouse"); - $w->signal_disconnect($sig); + $w->signal_disconnect($signal); }); } $w->signal_connect(key_press_event => sub { |