diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-05-06 18:28:44 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-05-10 11:00:46 (GMT) |
commit | e53d14e9102270a1682a88c29161580ccbf0c20a (patch) | |
tree | 26c5b238119073d69c650a970447685d20a463af /src/WinButton.cc | |
parent | ad0951ca539d23f8f0ed9a1e8519feacc2ef907c (diff) | |
download | fluxbox-e53d14e9102270a1682a88c29161580ccbf0c20a.zip fluxbox-e53d14e9102270a1682a88c29161580ccbf0c20a.tar.bz2 |
Convert FluxboxWindow::stateSig to FbTk::Signal
Diffstat (limited to 'src/WinButton.cc')
-rw-r--r-- | src/WinButton.cc | 6 |
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 | ||
54 | void WinButton::exposeEvent(XExposeEvent &event) { | 54 | void WinButton::exposeEvent(XExposeEvent &event) { |
@@ -316,7 +316,3 @@ void WinButton::updateAll() { | |||
316 | 316 | ||
317 | clear(); | 317 | clear(); |
318 | } | 318 | } |
319 | |||
320 | void WinButton::update(FbTk::Subject *subj) { | ||
321 | updateAll(); | ||
322 | } | ||