epiphany-extensions r1709 - branches/gnome-2-22/extensions/smart-bookmarks/mozilla
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany-extensions r1709 - branches/gnome-2-22/extensions/smart-bookmarks/mozilla
- Date: Thu, 27 Mar 2008 17:50:34 +0000 (GMT)
Author: cosimoc
Date: Thu Mar 27 17:50:33 2008
New Revision: 1709
URL: http://svn.gnome.org/viewvc/epiphany-extensions?rev=1709&view=rev
Log:
Use gtk_bin_get_child () to get the GtkMozEmbed. Bug #521880.
Modified:
branches/gnome-2-22/extensions/smart-bookmarks/mozilla/mozilla-selection.cpp
Modified: branches/gnome-2-22/extensions/smart-bookmarks/mozilla/mozilla-selection.cpp
==============================================================================
--- branches/gnome-2-22/extensions/smart-bookmarks/mozilla/mozilla-selection.cpp (original)
+++ branches/gnome-2-22/extensions/smart-bookmarks/mozilla/mozilla-selection.cpp Thu Mar 27 17:50:33 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]