summaryrefslogtreecommitdiff
path: root/src/IconBar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/IconBar.cc')
-rw-r--r--src/IconBar.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/IconBar.cc b/src/IconBar.cc
index 266eb7c..c4fc437 100644
--- a/src/IconBar.cc
+++ b/src/IconBar.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: IconBar.cc,v 1.35 2003/05/15 12:00:43 fluxgen Exp $ 22// $Id: IconBar.cc,v 1.36 2003/05/15 23:30:06 fluxgen Exp $
23 23
24#include "IconBar.hh" 24#include "IconBar.hh"
25 25
@@ -162,7 +162,7 @@ IconBar::WindowList *IconBar::delAllIcons() {
162void IconBar::loadTheme(unsigned int width, unsigned int height) { 162void IconBar::loadTheme(unsigned int width, unsigned int height) {
163 //!! TODO: iconbar style theme 163 //!! TODO: iconbar style theme
164 164
165 FbTk::ImageControl *image_ctrl = screen().getImageControl(); 165 FbTk::ImageControl &image_ctrl = screen().imageControl();
166 Pixmap tmp = m_focus_pm; 166 Pixmap tmp = m_focus_pm;
167 const FbTk::Texture *texture = &(screen().winFrameTheme().labelFocusTexture()); 167 const FbTk::Texture *texture = &(screen().winFrameTheme().labelFocusTexture());
168 168
@@ -176,11 +176,11 @@ void IconBar::loadTheme(unsigned int width, unsigned int height) {
176 m_focus_pixel = texture->color().pixel(); 176 m_focus_pixel = texture->color().pixel();
177 } else { 177 } else {
178 m_focus_pm = 178 m_focus_pm =
179 image_ctrl->renderImage(width, height, *texture); 179 image_ctrl.renderImage(width, height, *texture);
180 } 180 }
181 181
182 if (tmp) 182 if (tmp)
183 image_ctrl->removeImage(tmp); 183 image_ctrl.removeImage(tmp);
184} 184}
185 185
186/** 186/**