Code

Fixed uninitialized members
authorjoncruz <joncruz@users.sourceforge.net>
Fri, 6 Jun 2008 07:51:20 +0000 (07:51 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Fri, 6 Jun 2008 07:51:20 +0000 (07:51 +0000)
src/ui/widget/dock-item.cpp

index 6390eca504ebb2cf020a72a9c40e6b3f11993c37..e61b8080e889f5c2fc6018380d91bb69f5afe76d 100644 (file)
@@ -27,10 +27,15 @@ namespace Widget {
 
 DockItem::DockItem(Dock& dock, const Glib::ustring& name, const Glib::ustring& long_name,
                    const Glib::ustring& icon_name, State state) :
-    _dock (dock),
-    _prev_state (state),
-    _window (NULL),
-    _dock_item_action_area (NULL)
+    _dock(dock),
+    _prev_state(state),
+    _prev_position(0),
+    _window(0),
+    _x(0),
+    _y(0),
+    _grab_focus_on_realize(false),
+    _gdl_dock_item(0),
+    _dock_item_action_area(0)
 {
 
     GdlDockItemBehavior gdl_dock_behavior =