aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@src.gnome.org>2007-11-08 03:39:36 +0800
committerCosimo Cecchi <cosimoc@src.gnome.org>2007-11-08 03:39:36 +0800
commit04b24174b60f26d6c358945d3de12d668af1a6f7 (patch)
tree0d757ed603160d4113fc8135542b414585019e00 /embed
parentdab79777d8e125b7e7b472a93c1cf0188d7ccfca (diff)
downloadgsoc2013-epiphany-04b24174b60f26d6c358945d3de12d668af1a6f7.tar
gsoc2013-epiphany-04b24174b60f26d6c358945d3de12d668af1a6f7.tar.gz
gsoc2013-epiphany-04b24174b60f26d6c358945d3de12d668af1a6f7.tar.bz2
gsoc2013-epiphany-04b24174b60f26d6c358945d3de12d668af1a6f7.tar.lz
gsoc2013-epiphany-04b24174b60f26d6c358945d3de12d668af1a6f7.tar.xz
gsoc2013-epiphany-04b24174b60f26d6c358945d3de12d668af1a6f7.tar.zst
gsoc2013-epiphany-04b24174b60f26d6c358945d3de12d668af1a6f7.zip
Fix invalid cast and make the find toolbar work again after EphyBaseEmbed
transition. svn path=/trunk/; revision=7647
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/EphyFind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/EphyFind.cpp b/embed/mozilla/EphyFind.cpp
index effc8da05..6eb5e4bcb 100644
--- a/embed/mozilla/EphyFind.cpp
+++ b/embed/mozilla/EphyFind.cpp
@@ -87,7 +87,7 @@ EphyFind::SetEmbed (EphyEmbed *aEmbed)
mWebBrowser = nsnull;
rv = NS_ERROR_FAILURE;
- gtk_moz_embed_get_nsIWebBrowser (GTK_MOZ_EMBED (aEmbed),
+ gtk_moz_embed_get_nsIWebBrowser (GTK_MOZ_EMBED (gtk_bin_get_child (GTK_BIN (aEmbed))),
getter_AddRefs (mWebBrowser));
NS_ENSURE_TRUE (mWebBrowser, rv);