aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-05-08 14:01:21 (GMT)
committerfluxgen <fluxgen>2002-05-08 14:01:21 (GMT)
commit3fa840880127c037b5d501da21ab169c4ab6b56c (patch)
tree888993df5eb92ef1dbc1ef5e29d50256262ab939 /src/Slit.hh
parent738ef60ac60b0f60239c7929e213dcaa4071ebf8 (diff)
downloadfluxbox_pavel-3fa840880127c037b5d501da21ab169c4ab6b56c.zip
fluxbox_pavel-3fa840880127c037b5d501da21ab169c4ab6b56c.tar.bz2
changed from pointer to referens in slitmenu constructor
Diffstat (limited to 'src/Slit.hh')
-rw-r--r--src/Slit.hh4
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
39class Slitmenu : public Basemenu { 39class Slitmenu : public Basemenu {
40public: 40public:
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;