epiphany-extensions r1708 - trunk/extensions/smart-bookmarks/mozilla



Author: cosimoc
Date: Thu Mar 27 17:48:38 2008
New Revision: 1708
URL: http://svn.gnome.org/viewvc/epiphany-extensions?rev=1708&view=rev

Log:
Use gtk_bin_get_child () to get the GtkMozEmbed. Bug #521880.


Modified:
   trunk/extensions/smart-bookmarks/mozilla/mozilla-selection.cpp

Modified: trunk/extensions/smart-bookmarks/mozilla/mozilla-selection.cpp
==============================================================================
--- trunk/extensions/smart-bookmarks/mozilla/mozilla-selection.cpp	(original)
+++ trunk/extensions/smart-bookmarks/mozilla/mozilla-selection.cpp	Thu Mar 27 17:48:38 2008
@@ -75,7 +75,7 @@
 mozilla_get_selected_text (EphyEmbed *embed)
 {
 	nsCOMPtr<nsIWebBrowser> browser;
-	gtk_moz_embed_get_nsIWebBrowser (GTK_MOZ_EMBED (embed),
+	gtk_moz_embed_get_nsIWebBrowser (GTK_MOZ_EMBED (gtk_bin_get_child (GTK_BIN (embed))),
 			getter_AddRefs (browser));
 	nsCOMPtr<nsIWebBrowserFocus> focus (do_QueryInterface(browser));
 	NS_ENSURE_TRUE (focus, NULL);



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