aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-content.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-09-05 04:15:04 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-09-05 04:15:04 +0800
commitc95a226217a68703c48397c23ea8accc491d44e4 (patch)
tree5414478271970b0a761bc938e90ba1fc500942fc /shell/e-shell-content.c
parent369831e140c00a2578fb99c1e09fe369e80f0261 (diff)
downloadgsoc2013-evolution-c95a226217a68703c48397c23ea8accc491d44e4.tar
gsoc2013-evolution-c95a226217a68703c48397c23ea8accc491d44e4.tar.gz
gsoc2013-evolution-c95a226217a68703c48397c23ea8accc491d44e4.tar.bz2
gsoc2013-evolution-c95a226217a68703c48397c23ea8accc491d44e4.tar.lz
gsoc2013-evolution-c95a226217a68703c48397c23ea8accc491d44e4.tar.xz
gsoc2013-evolution-c95a226217a68703c48397c23ea8accc491d44e4.tar.zst
gsoc2013-evolution-c95a226217a68703c48397c23ea8accc491d44e4.zip
EShell cleanup + rework my previous crasher fix.
Diffstat (limited to 'shell/e-shell-content.c')
-rw-r--r--shell/e-shell-content.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c
index 9e28bc8075..0d787749f8 100644
--- a/shell/e-shell-content.c
+++ b/shell/e-shell-content.c
@@ -587,6 +587,9 @@ shell_content_destroy (GtkObject *gtk_object)
priv = E_SHELL_CONTENT_GET_PRIVATE (gtk_object);
+ /* Unparent the widget before destroying it to avoid
+ * writing a custom GtkContainer::remove() method. */
+
if (priv->search_bar != NULL) {
gtk_widget_unparent (priv->search_bar);
gtk_widget_destroy (priv->search_bar);