From 46d30306cbe2ac4e0545c8639b88f1901ad44997 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Mon, 16 Mar 2009 17:49:23 +0000 Subject: [PATCH] Removed PanelBar::internal_setup - a redundant function --- src/gui/widgets/panel-bar.cpp | 6 ------ src/gui/widgets/panel-bar.hpp | 9 +-------- 2 files changed, 1 insertion(+), 14 deletions(-) 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: /**