Solving issue 1618: "GUI freezes: Adjuster::sliderReleased" ; This patch has been confirmed to solve the problem, but without warranty of other side effect.

This commit is contained in:
natureh 510
2012-11-09 21:24:18 +01:00
parent a91efaec78
commit e9a58e0f3a

View File

@@ -439,7 +439,6 @@ void Adjuster::setAutoValue (bool a) {
bool Adjuster::notifyListener () {
if (eventPending && adjusterListener!=NULL && !blocked) {
GThreadLock lock;
adjusterListener->adjusterChanged (this, spin->get_value ());
}
eventPending = false;
@@ -450,7 +449,6 @@ bool Adjuster::notifyListener () {
bool Adjuster::notifyListenerAutoToggled () {
if (adjusterListener!=NULL && !blocked) {
GThreadLock lock;
adjusterListener->adjusterAutoToggled(this, automatic->get_active());
}
return false;