diff --git a/src/gui/widgets/panel-bar.cpp b/src/gui/widgets/panel-bar.cpp index 688ebe353..8ae1754cd 100644 --- a/src/gui/widgets/panel-bar.cpp +++ b/src/gui/widgets/panel-bar.cpp @@ -33,12 +33,6 @@ namespace widgets { PanelBar::PanelBar(const gchar *stock_id) : HBox(), panelButton(StockID(stock_id)) -{ - internal_setup(); -} - -void -PanelBar::internal_setup() { panelButton.set_relief(RELIEF_NONE); panelButton.unset_flags(CAN_FOCUS); diff --git a/src/gui/widgets/panel-bar.hpp b/src/gui/widgets/panel-bar.hpp index 3875401e4..09e697c7b 100644 --- a/src/gui/widgets/panel-bar.hpp +++ b/src/gui/widgets/panel-bar.hpp @@ -45,14 +45,7 @@ public: * panel. **/ PanelBar(const gchar *stock_id); - -private: - - /** - * A helper function to do the internal setup of the widget. - **/ - void internal_setup(); - + private: /**