aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2008-02-21 04:19:50 +0800
committerXan Lopez <xan@src.gnome.org>2008-02-21 04:19:50 +0800
commitac208579ea1df0de409d70cdcb15061e6d753941 (patch)
tree54fae58737d07a326a2646a8838877f0de4541cf /embed/mozilla
parent5481eff1428f9d7345b0e2b71d47d9f7aaa1ada3 (diff)
downloadgsoc2013-epiphany-ac208579ea1df0de409d70cdcb15061e6d753941.tar
gsoc2013-epiphany-ac208579ea1df0de409d70cdcb15061e6d753941.tar.gz
gsoc2013-epiphany-ac208579ea1df0de409d70cdcb15061e6d753941.tar.bz2
gsoc2013-epiphany-ac208579ea1df0de409d70cdcb15061e6d753941.tar.lz
gsoc2013-epiphany-ac208579ea1df0de409d70cdcb15061e6d753941.tar.xz
gsoc2013-epiphany-ac208579ea1df0de409d70cdcb15061e6d753941.tar.zst
gsoc2013-epiphany-ac208579ea1df0de409d70cdcb15061e6d753941.zip
Make EphyUtils::FindEmbed return the parent of the mozembed, as it is now contained
inside EphyEmbed instead of being its parent class. (#517149) svn path=/trunk/; revision=7972
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/EphyUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/EphyUtils.cpp b/embed/mozilla/EphyUtils.cpp
index c0b7dbda9..e5c4fb119 100644
--- a/embed/mozilla/EphyUtils.cpp
+++ b/embed/mozilla/EphyUtils.cpp
@@ -131,7 +131,7 @@ EphyUtils::FindEmbed (nsIDOMWindow *aDOMWindow)
rv = window->GetSiteWindow ((void **) cache_ptr);
NS_ENSURE_SUCCESS (rv, nsnull);
- return mozembed;
+ return gtk_widget_get_parent (mozembed);
}
GtkWidget *