From feb798ddec1b60967043b13dfb718e0438d05c26 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Apr 2017 13:13:10 +0200 Subject: localize variable --- control-center | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/control-center b/control-center index 5ef79346..c83e1760 100755 --- a/control-center +++ b/control-center @@ -1045,8 +1045,6 @@ foreach (keys %check_boxes) { # "wait while launching a program" area : -my $run_pixbuf; - sub stop_wait_area() { $wait_darea->hide; if ($timeout) { @@ -1232,7 +1230,7 @@ sub run_tool { $exec .= " --embedded " . $emb_socket->get_id; $wait_darea->show; $cancel->show; - $run_pixbuf = eval { gtkcreate_pixbuf($icon . "_128") }; + my $run_pixbuf = eval { gtkcreate_pixbuf($icon . "_128") }; my $anim = Gtk3::Gdk::PixbufSimpleAnim->new(128,128, 1000/35); $anim->add_frame(mygtk3::_pixbuf_render_alpha($run_pixbuf, 255-$_*5)) foreach 0..31; # fade away $anim->add_frame(mygtk3::_pixbuf_render_alpha($run_pixbuf, 95+$_*5)) foreach 0..31; # fade back -- cgit v1.2.1