summaryrefslogtreecommitdiff
path: root/src/Slit.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-04-14 13:58:17 +0000
committerDana Jansens <danakj@orodu.net>2002-04-14 13:58:17 +0000
commit72af8cea6a0573f7d2c004102cd04f1a1ad88798 (patch)
tree952486ba8d942552722f3c9ae11627282c28ff95 /src/Slit.h
parent9ea141105eea23c48bbf22eb3d451e4c7267f766 (diff)
using some references instead of pointers where possible in Screen, ScreenInfo, Slit, Toolbar, and Netizen
Diffstat (limited to 'src/Slit.h')
-rw-r--r--src/Slit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Slit.h b/src/Slit.h
index 1c644f2c..cef5d6c6 100644
--- a/src/Slit.h
+++ b/src/Slit.h
@@ -96,8 +96,8 @@ private:
Bool on_top, hidden, do_auto_hide;
Display *display;
- Openbox *openbox;
- BScreen *screen;
+ Openbox &openbox;
+ BScreen &screen;
BTimer *timer;
LinkedList<SlitClient> *clientList;
@@ -117,7 +117,7 @@ private:
public:
- Slit(BScreen *);
+ Slit(BScreen &);
virtual ~Slit();
inline const Bool &isOnTop(void) const { return on_top; }