X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fgtkmm2ext%2Fidle_adjustment.cc;h=6f5fd132947f2bcb08ae1943276f14a9946ee333;hb=e7a154b9dd8ed43a77424f8624ce61db0fa390d9;hp=030d717133b52d8f4eadaa9804366f1045dee075;hpb=030a8f189de2c5666a08f010fb398e39f240d816;p=ardour.git diff --git a/libs/gtkmm2ext/idle_adjustment.cc b/libs/gtkmm2ext/idle_adjustment.cc index 030d717133..6f5fd13294 100644 --- a/libs/gtkmm2ext/idle_adjustment.cc +++ b/libs/gtkmm2ext/idle_adjustment.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2000-2007 Paul Davis + Copyright (C) 2000-2007 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -44,14 +44,14 @@ void IdleAdjustment::underlying_adjustment_value_changed () { last_vc = g_get_monotonic_time(); - + if (timeout_queued) { return; } Glib::signal_timeout().connect(mem_fun(*this, &IdleAdjustment::timeout_handler), 250); timeout_queued = true; -} +} gint IdleAdjustment::timeout_handler ()