]> git.tdb.fi Git - libs/gltk.git/commitdiff
Remove dead code from Panel::Child
authorMikko Rasa <tdb@tdb.fi>
Sun, 2 Dec 2012 08:51:46 +0000 (10:51 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 2 Dec 2012 08:51:46 +0000 (10:51 +0200)
source/panel.cpp
source/panel.h

index 2ede2a9c77fd8b32a105971b894fb5fba66d3919..11d90e40349b04d1c49534119be5f36f100998b4 100644 (file)
@@ -275,13 +275,6 @@ void Panel::Child::visibility_changed(bool v)
        }
 }
 
-void Panel::Child::autosize_changed()
-{
-       Panel &panel = static_cast<Panel &>(container);
-       if(panel.layout)
-               panel.layout->update();
-}
-
 void Panel::Child::request_focus()
 {
        Panel &panel = static_cast<Panel &>(container);
index 1126e837836e46f5d88590e2cf94df3b14efc174..170364dae0d1b5e1dd8df444593c7445ab7361e5 100644 (file)
@@ -40,11 +40,9 @@ protected:
                virtual ~Child();
 
                void visibility_changed(bool);
-               void autosize_changed();
                void request_focus();
                void grab_pointer();
                void ungrab_pointer();
-               void raise();
        };
 
        Layout *layout;