summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xcontrol-center5
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 6de328d8..d5c52d3b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix a gtk warning
+
Version 12.52 - 10 July 2014, Thierry Vignaud
- fix not displaying contributors in about dialog (mga#13093)
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;
}