From 57dec386c11818393988a6adcb59b296499a6ccf Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 12 Nov 2007 13:53:17 +0000 Subject: do not redeclare unused new x/y --- lib/network/connection_manager.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/network') diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index 8a36737..3470cbb 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -208,7 +208,7 @@ sub create_networks_list { $cmanager->{gui}{networks_list}->signal_connect('query-tooltip' => sub { my ($widget, $x, $y, $kbd_tip, $tooltip) = @_; - my ($x, $y, $model, $path, $iter) = $widget->get_tooltip_context($x, $y, $kbd_tip) or return; + (undef, undef, my $model, my $path, my $iter) = $widget->get_tooltip_context($x, $y, $kbd_tip) or return; my $ap = $model->get($iter, 0); my $network = $cmanager->{connection}{networks}{$ap}; $tooltip->set_text("$network->{signal_strength}% $network->{flags}"); -- cgit v1.2.1