From ba6e2034e7a0bea0e2a71d3e90a808f02bdb5629 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 14 Apr 2002 14:04:16 +0000 Subject: using a reference for Openbox instead of a pointer --- src/Window.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Window.h') diff --git a/src/Window.h b/src/Window.h index f3a79e3d..efc212eb 100644 --- a/src/Window.h +++ b/src/Window.h @@ -67,7 +67,7 @@ typedef struct MwmHints { class OpenboxWindow : public TimeoutHandler { private: BImageControl *image_ctrl; - Openbox *openbox; + Openbox &openbox; BScreen *screen; Display *display; BTimer *timer; @@ -239,7 +239,7 @@ protected: public: - OpenboxWindow(Openbox *b, Window w, BScreen *s = (BScreen *) 0); + OpenboxWindow(Openbox &b, Window w, BScreen *s = (BScreen *) 0); virtual ~OpenboxWindow(void); inline Bool isTransient(void) const { return flags.transient; } -- cgit v1.2.3