all repos — fluxbox @ 09da97e6f369471b94d58fea63e112cce22a7060

custom fork of the fluxbox windowmanager

Remove dead code
Mathias Gumz akira@fluxbox.org
commit

09da97e6f369471b94d58fea63e112cce22a7060

parent

7b8fd2d81ad80a73564fc9fbb779f47568f12652

2 files changed, 0 insertions(+), 20 deletions(-)

jump to
M src/FbTk/TextButton.ccsrc/FbTk/TextButton.cc

@@ -42,22 +42,6 @@

setRenderer(*this); } -void TextButton::resize(unsigned int width, unsigned int height) { - if (this->width() == width && height == this->height()) - return; - - Button::resize(width, height); -} - -void TextButton::moveResize(int x, int y, - unsigned int width, unsigned int height) { - if (this->width() == width && height == this->height() && - x == this->x() && y == this->y()) - return; - - Button::moveResize(x, y, width, height); -} - void TextButton::setJustify(FbTk::Justify just) { m_justify = just; }
M src/FbTk/TextButton.hhsrc/FbTk/TextButton.hh

@@ -43,10 +43,6 @@ void setTextPadding(unsigned int padding);

void setTextPaddingLeft(unsigned int leftpadding); void setTextPaddingRight(unsigned int rightpadding); - void resize(unsigned int width, unsigned int height); - void moveResize(int x, int y, - unsigned int width, unsigned int height); - /// clears window and redraw text void clear(); /// clears area and redraws text