summaryrefslogtreecommitdiff
path: root/plugins
diff options
authorAndrea Azzarone <azzaronea@gmail.com>2012-04-12 09:03:50 +0200
committerAndrea Azzarone <azzaronea@gmail.com>2012-04-12 09:03:50 +0200
commit7a499598525ce0be08e43d582417f8f49bb80206 (patch)
tree952d5d7c07c9f2abb1f636453c44ddd22cdd257c /plugins
parent32adb40a994fef826c28d5594bd2ae5c828c9e67 (diff)
Replace AddLayout with RemoveChildObject in FilterExpanderLabel.cpp
(bzr r2275.1.1)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unityshell/src/FilterExpanderLabel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/unityshell/src/FilterExpanderLabel.cpp b/plugins/unityshell/src/FilterExpanderLabel.cpp
index cd81c166f..afcc6f8ff 100644
--- a/plugins/unityshell/src/FilterExpanderLabel.cpp
+++ b/plugins/unityshell/src/FilterExpanderLabel.cpp
@@ -116,7 +116,7 @@ FilterExpanderLabel::FilterExpanderLabel(std::string const& label, NUX_FILE_LINE
}
else if (!value and separator_->IsChildOf(layout_))
{
- layout_->AddLayout(space_, 0);
+ layout_->RemoveChildObject(space_);
layout_->RemoveChildObject(separator_);
}
QueueDraw();