diff options
author | fluxgen <fluxgen> | 2002-01-20 02:20:18 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-01-20 02:20:18 (GMT) |
commit | f72da2f9678efab09c4ea91fbd493d13933331eb (patch) | |
tree | 2401b18fcda73ce56c05d53847f0adb80f47cc50 | |
parent | 618c8bd6de064be221f1753ca94507329a8e4a85 (diff) | |
download | fluxbox_lack-f72da2f9678efab09c4ea91fbd493d13933331eb.zip fluxbox_lack-f72da2f9678efab09c4ea91fbd493d13933331eb.tar.bz2 |
Small casting
-rw-r--r-- | src/Toolbar.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index eeebda6..8bc006c 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc | |||
@@ -1400,7 +1400,8 @@ void Toolbarmenu::Placementmenu::itemSelected(int button, int index) { | |||
1400 | if (! item) | 1400 | if (! item) |
1401 | return; | 1401 | return; |
1402 | 1402 | ||
1403 | toolbarmenu->toolbar->screen->saveToolbarPlacement(item->function()); | 1403 | toolbarmenu->toolbar->screen->saveToolbarPlacement( |
1404 | static_cast<Toolbar::Placement>(item->function())); | ||
1404 | hide(); | 1405 | hide(); |
1405 | toolbarmenu->toolbar->reconfigure(); | 1406 | toolbarmenu->toolbar->reconfigure(); |
1406 | 1407 | ||