aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);