diff options
author | fluxgen <fluxgen> | 2002-05-08 14:01:21 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-05-08 14:01:21 (GMT) |
commit | 3fa840880127c037b5d501da21ab169c4ab6b56c (patch) | |
tree | 888993df5eb92ef1dbc1ef5e29d50256262ab939 | |
parent | 738ef60ac60b0f60239c7929e213dcaa4071ebf8 (diff) | |
download | fluxbox-3fa840880127c037b5d501da21ab169c4ab6b56c.zip fluxbox-3fa840880127c037b5d501da21ab169c4ab6b56c.tar.bz2 |
changed from pointer to referens in slitmenu constructor
-rw-r--r-- | src/Slit.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Slit.hh b/src/Slit.hh index 356873c..c81cda5 100644 --- a/src/Slit.hh +++ b/src/Slit.hh | |||
@@ -38,7 +38,7 @@ class Slitmenu; | |||
38 | 38 | ||
39 | class Slitmenu : public Basemenu { | 39 | class Slitmenu : public Basemenu { |
40 | public: | 40 | public: |
41 | explicit Slitmenu(Slit *); | 41 | explicit Slitmenu(Slit &theslist); |
42 | virtual ~Slitmenu(void); | 42 | virtual ~Slitmenu(void); |
43 | 43 | ||
44 | inline Basemenu *getDirectionmenu(void) { return directionmenu; } | 44 | inline Basemenu *getDirectionmenu(void) { return directionmenu; } |
@@ -90,7 +90,7 @@ private: | |||
90 | #ifdef XINERAMA | 90 | #ifdef XINERAMA |
91 | Headmenu *headmenu; | 91 | Headmenu *headmenu; |
92 | #endif // XINERAMA | 92 | #endif // XINERAMA |
93 | Slit *slit; | 93 | Slit &slit; |
94 | 94 | ||
95 | friend class Directionmenu; | 95 | friend class Directionmenu; |
96 | friend class Placementmenu; | 96 | friend class Placementmenu; |