aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-content.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-content.c')
-rw-r--r--shell/e-shell-content.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c
index 799df0d4fe..af318b8582 100644
--- a/shell/e-shell-content.c
+++ b/shell/e-shell-content.c
@@ -260,7 +260,8 @@ shell_content_forall (GtkContainer *container,
priv = E_SHELL_CONTENT_GET_PRIVATE (container);
- if (include_internals && priv->searchbar != NULL && container == (GtkContainer *)priv->searchbar->parent)
+ if (include_internals && priv->searchbar != NULL &&
+ container == GTK_CONTAINER (priv->searchbar->parent))
callback (priv->searchbar, callback_data);
/* Chain up to parent's forall() method. */