diff options
Diffstat (limited to 'src/IconButton.cc')
-rw-r--r-- | src/IconButton.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc index d63f6da..a1d7efa 100644 --- a/src/IconButton.cc +++ b/src/IconButton.cc | |||
@@ -202,7 +202,7 @@ void IconButton::update(FbTk::Subject *subj) { | |||
202 | m_icon_window.moveResize(iconx, icony, neww, newh); | 202 | m_icon_window.moveResize(iconx, icony, neww, newh); |
203 | 203 | ||
204 | m_icon_pixmap.copy(m_win.icon().pixmap().drawable(), | 204 | m_icon_pixmap.copy(m_win.icon().pixmap().drawable(), |
205 | DefaultDepth(display, screen), screen); | 205 | FbTk::App::instance()->defaultDepth(screen), screen); |
206 | m_icon_pixmap.scale(m_icon_window.width(), m_icon_window.height()); | 206 | m_icon_pixmap.scale(m_icon_window.width(), m_icon_window.height()); |
207 | 207 | ||
208 | // rotate the icon or not?? lets go not for now, and see what they say... | 208 | // rotate the icon or not?? lets go not for now, and see what they say... |