Code

give _anchor initial value before comparing it
authorrwst <rwst@users.sourceforge.net>
Thu, 13 Jul 2006 09:29:12 +0000 (09:29 +0000)
committerrwst <rwst@users.sourceforge.net>
Thu, 13 Jul 2006 09:29:12 +0000 (09:29 +0000)
src/ui/widget/panel.cpp

index 4ecbda1b8631073db084f372d2f2641e7ab2e569..8be563828dadf6a84db35f15d5471ba947f7507f 100644 (file)
@@ -74,6 +74,7 @@ void Panel::_popper(GdkEventButton* event)
 void Panel::init()
 {
     Glib::ustring tmp("<");
+    _anchor = Gtk::ANCHOR_CENTER;
     tabTitle.set_label(this->label);
 
     guint panel_size = 0;