summaryrefslogtreecommitdiffstats
path: root/control-center
diff options
context:
space:
mode:
Diffstat (limited to 'control-center')
-rwxr-xr-xcontrol-center5
1 files changed, 4 insertions, 1 deletions
diff --git a/control-center b/control-center
index b56e93ba..c506e6bd 100755
--- a/control-center
+++ b/control-center
@@ -1052,7 +1052,10 @@ my ($run_pixbuf, $run_counter, $run_counter_add, %run_pixbufs);
sub stop_wait_area() {
$wait_darea->hide;
- Glib::Source->remove($timeout) if $timeout;
+ if ($timeout) {
+ Glib::Source->remove($timeout);
+ undef $timeout;
+ }
undef %run_pixbufs;
}