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