epiphany r7972 - trunk/embed/mozilla



Author: xan
Date: Wed Feb 20 20:19:50 2008
New Revision: 7972
URL: http://svn.gnome.org/viewvc/epiphany?rev=7972&view=rev

Log:
Make EphyUtils::FindEmbed return the parent of the mozembed, as it is now contained
inside EphyEmbed instead of being its parent class. (#517149)


Modified:
   trunk/embed/mozilla/EphyUtils.cpp

Modified: trunk/embed/mozilla/EphyUtils.cpp
==============================================================================
--- trunk/embed/mozilla/EphyUtils.cpp	(original)
+++ trunk/embed/mozilla/EphyUtils.cpp	Wed Feb 20 20:19:50 2008
@@ -131,7 +131,7 @@
 	rv = window->GetSiteWindow ((void **) cache_ptr);
 	NS_ENSURE_SUCCESS (rv, nsnull);
 
-	return mozembed;
+	return gtk_widget_get_parent (mozembed);
 }
 
 GtkWidget *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]