summaryrefslogtreecommitdiffstats
path: root/control-center
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 /control-center
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.
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;
}