From ab65c09ef555fee330318e00f3edbd2262dbc1df Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 26 Aug 2014 08:14:37 +0200 Subject: fix a gtk warning GLib-CRITICAL **: Source ID 350 was not found when attempting to remove it at /usr/libexec/drakconf line 1055. --- control-center | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'control-center') 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; } -- cgit v1.2.1