Skip to content

Commit

Permalink
removed useless 'protected' from many of the classes
Browse files Browse the repository at this point in the history
  • Loading branch information
shaleh committed May 3, 2002
1 parent f17f454 commit 2eaa395
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions src/Image.hh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ private:
void OrderedPseudoColorDither(int bytes_per_line, unsigned char *pixel_data);
#endif

protected:
Pixmap renderPixmap(void);

XImage *renderXImage(void);
Expand Down Expand Up @@ -170,7 +169,6 @@ private:
typedef std::list<CachedImage> CacheContainer;
CacheContainer cache;

protected:
Pixmap searchCache(const unsigned int width, const unsigned int height,
const unsigned long texture,
const BColor &c1, const BColor &c2);
Expand Down
2 changes: 0 additions & 2 deletions src/Netizen.hh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ private:
Window window;
XEvent event;

protected:

public:
Netizen(BScreen *, Window);

Expand Down
1 change: 0 additions & 1 deletion src/Screen.hh
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ private:
BScreen(const BScreen&);
BScreen& operator=(const BScreen&);

protected:
Bool parseMenuFile(FILE *file, Rootmenu *menu);

BTexture readDatabaseTexture(const std::string &rname,
Expand Down
2 changes: 0 additions & 2 deletions src/Window.hh
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ private:
BlackboxWindow(const BlackboxWindow&);
BlackboxWindow& operator=(const BlackboxWindow&);

protected:
Bool getState(void);
Window createToplevelWindow(int x, int y, unsigned int width,
unsigned int height, unsigned int borderwidth);
Expand Down Expand Up @@ -245,7 +244,6 @@ protected:
void right_fixsize(int *gx = 0, int *gy = 0);
void left_fixsize(int *gx = 0, int *gy = 0);


public:
BlackboxWindow(Blackbox *b, Window w, BScreen *s = (BScreen *) 0);
virtual ~BlackboxWindow(void);
Expand Down
2 changes: 0 additions & 2 deletions src/Workspace.hh
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,8 @@ private:
Workspace(const Workspace&);
Workspace& operator=(const Workspace&);

protected:
void placeWindow(BlackboxWindow *win);


public:
Workspace(BScreen *scrn, unsigned int i = 0);
~Workspace(void);
Expand Down
1 change: 0 additions & 1 deletion src/blackbox.hh
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ private:
Blackbox(const Blackbox&);
Blackbox& operator=(const Blackbox&);

protected:
void load_rc(void);
void save_rc(void);
void reload_rc(void);
Expand Down
1 change: 0 additions & 1 deletion util/bsetroot.hh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ private:
bsetroot(const bsetroot &);
bsetroot& operator=(const bsetroot&);

protected:
inline virtual void process_event(XEvent * /*unused*/) { }

public:
Expand Down

0 comments on commit 2eaa395

Please sign in to comment.