diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Slit.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index 6aaea47..fdfe7a1 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Slit.cc,v 1.24 2002/11/14 00:23:19 fluxgen Exp $ | 25 | // $Id: Slit.cc,v 1.25 2002/11/15 12:13:56 fluxgen Exp $ |
26 | 26 | ||
27 | //use GNU extensions | 27 | //use GNU extensions |
28 | #ifndef _GNU_SOURCE | 28 | #ifndef _GNU_SOURCE |
@@ -855,7 +855,7 @@ m_directionmenu(*this) { | |||
855 | 855 | ||
856 | #ifdef XINERAMA | 856 | #ifdef XINERAMA |
857 | if (screen()->hasXinerama()) { // only create if we need | 857 | if (screen()->hasXinerama()) { // only create if we need |
858 | m_headmenu.reset(new Headmenu(this)); | 858 | m_headmenu.reset(new Headmenu(*this)); |
859 | } | 859 | } |
860 | #endif // XINERAMA | 860 | #endif // XINERAMA |
861 | 861 | ||
@@ -1055,7 +1055,7 @@ void Slitmenu::Placementmenu::itemSelected(int button, unsigned int index) { | |||
1055 | 1055 | ||
1056 | #ifdef XINERAMA | 1056 | #ifdef XINERAMA |
1057 | 1057 | ||
1058 | Slitmenu::Headmenu::Headmenu(Slitmenu *sm): Basemenu(sm->screen()), | 1058 | Slitmenu::Headmenu::Headmenu(Slitmenu &sm): Basemenu(sm.screen()), |
1059 | slitmenu(sm) { | 1059 | slitmenu(sm) { |
1060 | 1060 | ||
1061 | I18n *i18n = I18n::instance(); | 1061 | I18n *i18n = I18n::instance(); |
@@ -1082,7 +1082,7 @@ void Slitmenu::Headmenu::itemSelected(int button, unsigned int index) { | |||
1082 | 1082 | ||
1083 | screen()->saveSlitOnHead(item->function()); | 1083 | screen()->saveSlitOnHead(item->function()); |
1084 | hide(); | 1084 | hide(); |
1085 | slitmenu->slit.reconfigure(); | 1085 | slitmenu.slit.reconfigure(); |
1086 | Fluxbox::instance()->save_rc(); | 1086 | Fluxbox::instance()->save_rc(); |
1087 | } | 1087 | } |
1088 | } | 1088 | } |