summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-09-03 13:53:30 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-09-03 13:53:30 (GMT)
commit60a4c7d9f6a0fc997e11898f9042977922026052 (patch)
tree0f9572f1062e82cea0e7a32250fc0ed5643343b5
parenta72eeeb2ceb6d5183abb24ed36c202079fe0fa42 (diff)
downloadfluxbox_lack-60a4c7d9f6a0fc997e11898f9042977922026052.zip
fluxbox_lack-60a4c7d9f6a0fc997e11898f9042977922026052.tar.bz2
remove tooltip when IconButton is destroyed
-rw-r--r--src/IconButton.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc
index 0511a06..b411a23 100644
--- a/src/IconButton.cc
+++ b/src/IconButton.cc
@@ -71,6 +71,8 @@ IconButton::IconButton(const FbTk::FbWindow &parent,
71 71
72IconButton::~IconButton() { 72IconButton::~IconButton() {
73 // ~FbWindow cleans event manager 73 // ~FbWindow cleans event manager
74 if (m_has_tooltip)
75 m_win.screen().hideTooltip();
74} 76}
75 77
76 78