From: Mikko Rasa Date: Sun, 2 Dec 2012 08:51:46 +0000 (+0200) Subject: Remove dead code from Panel::Child X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=9fdbf99cdb3c5620e665c3ecb34e83d778cb311a;p=libs%2Fgltk.git Remove dead code from Panel::Child --- diff --git a/source/panel.cpp b/source/panel.cpp index 2ede2a9..11d90e4 100644 --- a/source/panel.cpp +++ b/source/panel.cpp @@ -275,13 +275,6 @@ void Panel::Child::visibility_changed(bool v) } } -void Panel::Child::autosize_changed() -{ - Panel &panel = static_cast(container); - if(panel.layout) - panel.layout->update(); -} - void Panel::Child::request_focus() { Panel &panel = static_cast(container); diff --git a/source/panel.h b/source/panel.h index 1126e83..170364d 100644 --- a/source/panel.h +++ b/source/panel.h @@ -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;