summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-08-26 08:14:37 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-08-26 08:14:37 +0200
commitab65c09ef555fee330318e00f3edbd2262dbc1df (patch)
tree3fa35405c91eac1800095f9eb4f430dab18bf742
parentf962a175992b73e328455cf6555dd4ee40aa1736 (diff)
downloadcontrol-center-ab65c09ef555fee330318e00f3edbd2262dbc1df.tar
control-center-ab65c09ef555fee330318e00f3edbd2262dbc1df.tar.gz
control-center-ab65c09ef555fee330318e00f3edbd2262dbc1df.tar.bz2
control-center-ab65c09ef555fee330318e00f3edbd2262dbc1df.tar.xz
control-center-ab65c09ef555fee330318e00f3edbd2262dbc1df.zip
fix a gtk warning
GLib-CRITICAL **: Source ID 350 was not found when attempting to remove it at /usr/libexec/drakconf line 1055.
-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;
}