summaryrefslogtreecommitdiff
path: root/src
diff options
authorGord Allott <gord.allott@canonical.com>2010-12-15 16:17:48 +0000
committerGord Allott <gord.allott@canonical.com>2010-12-15 16:17:48 +0000
commit358b550c60cbca56287148e34ce2d1bf20b97046 (patch)
tree4f2d46c25882c226cb7c36ee750ae259766bbb24 /src
parentaea179e90d34dc9c987705bec5074bd237c4160c (diff)
ref fix
(bzr r701.2.5)
Diffstat (limited to 'src')
-rw-r--r--src/PlacesController.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PlacesController.cpp b/src/PlacesController.cpp
index cefc61fdc..c08b15812 100644
--- a/src/PlacesController.cpp
+++ b/src/PlacesController.cpp
@@ -49,10 +49,12 @@ PlacesController::PlacesController ()
//_Window->InputWindowEnableStruts(false);
_Window->OnMouseDownOutsideArea.connect (sigc::mem_fun (this, &PlacesController::RecvMouseDownOutsideOfView));
+ _Window->Reference ();
}
PlacesController::~PlacesController ()
{
+ _Window->UnReference ();
}
void PlacesController::Show ()