aboutsummaryrefslogtreecommitdiff
path: root/src/WinButton.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/WinButton.cc')
-rw-r--r--src/WinButton.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/WinButton.cc b/src/WinButton.cc
index 22fe29c..703820d 100644
--- a/src/WinButton.cc
+++ b/src/WinButton.cc
@@ -48,7 +48,7 @@ WinButton::WinButton(FluxboxWindow &listen_to,
48 join(theme.reconfigSig(), FbTk::MemFun(*this, &WinButton::updateAll)); 48 join(theme.reconfigSig(), FbTk::MemFun(*this, &WinButton::updateAll));
49 49
50 if (buttontype == MENUICON) 50 if (buttontype == MENUICON)
51 update(0); 51 updateAll();
52} 52}
53 53
54void WinButton::exposeEvent(XExposeEvent &event) { 54void WinButton::exposeEvent(XExposeEvent &event) {
@@ -316,7 +316,3 @@ void WinButton::updateAll() {
316 316
317 clear(); 317 clear();
318} 318}
319
320void WinButton::update(FbTk::Subject *subj) {
321 updateAll();
322}