diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-14 13:58:17 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-14 13:58:17 +0000 |
| commit | 72af8cea6a0573f7d2c004102cd04f1a1ad88798 (patch) | |
| tree | 952486ba8d942552722f3c9ae11627282c28ff95 /src/BaseDisplay.h | |
| parent | 9ea141105eea23c48bbf22eb3d451e4c7267f766 (diff) | |
using some references instead of pointers where possible in Screen, ScreenInfo, Slit, Toolbar, and Netizen
Diffstat (limited to 'src/BaseDisplay.h')
| -rw-r--r-- | src/BaseDisplay.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BaseDisplay.h b/src/BaseDisplay.h index 2aa82d76..38f12ada 100644 --- a/src/BaseDisplay.h +++ b/src/BaseDisplay.h @@ -328,7 +328,7 @@ public: class ScreenInfo { private: - BaseDisplay *basedisplay; + BaseDisplay &basedisplay; Visual *visual; Window root_window; Colormap colormap; @@ -338,9 +338,9 @@ private: public: - ScreenInfo(BaseDisplay *, int); + ScreenInfo(BaseDisplay &, int); - inline BaseDisplay *getBaseDisplay(void) { return basedisplay; } + inline BaseDisplay &getBaseDisplay(void) { return basedisplay; } inline Visual *getVisual(void) { return visual; } inline const Window &getRootWindow(void) const { return root_window; } |
