From ac208579ea1df0de409d70cdcb15061e6d753941 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Wed, 20 Feb 2008 20:19:50 +0000 Subject: 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 --- embed/mozilla/EphyUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed/mozilla') 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 * -- cgit v1.2.3