aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Button.cc
diff options
context:
space:
mode:
authorJim Ramsay <i.am@jimramsay.com>2010-07-14 15:36:00 (GMT)
committerJim Ramsay <i.am@jimramsay.com>2010-07-14 15:36:00 (GMT)
commita3b063292c003a32c72859f3eecc92de6e1dd132 (patch)
treefee8d5fe84771d328e35087a8b183d123895801b /src/FbTk/Button.cc
parent3578d1474180ea151adf20ca745aa4ce3f4b3059 (diff)
downloadfluxbox_pavel-a3b063292c003a32c72859f3eecc92de6e1dd132.zip
fluxbox_pavel-a3b063292c003a32c72859f3eecc92de6e1dd132.tar.bz2
bugfix: another crash when cleaning up signals
While 769130f51a8f did fix one issue, it introduced another by changing the logic related to the new SignalTracker. The original logic (introduced in 9ad388c5bf16) was: -> in 'leave(Signal)', only call 'disconnect' -> in 'leaveAll()', call 'disconnect' and 'disconnectTracker' But 769130f51a8f inverted this, calling 'disconnectTracker' in both cases but only 'disconnect' in the 'leaveAll()' case, which would leave unattached signals around after calling 'leave(Signal)'. This fix not only repairs the logic, but renames the ambiguous 'disconnect' boolean to something more explicit: 'withTracker'.
Diffstat (limited to 'src/FbTk/Button.cc')
0 files changed, 0 insertions, 0 deletions