seahorse r2607 - in seahorse-plugins/branches/gnome-2-24: . plugins/epiphany/mozilla
- From: sadam svn gnome org
- To: svn-commits-list gnome org
- Subject: seahorse r2607 - in seahorse-plugins/branches/gnome-2-24: . plugins/epiphany/mozilla
- Date: Tue, 4 Nov 2008 22:23:58 +0000 (UTC)
Author: sadam
Date: Tue Nov 4 22:23:58 2008
New Revision: 2607
URL: http://svn.gnome.org/viewvc/seahorse?rev=2607&view=rev
Log:
2008-11-04 Adam Schreiber <sadam clemson edu>
* plugins/epiphany/mozilla/mozilla-helper.cpp: Fix casting of
EphyEmbed.
Fixes bug #545020
Modified:
seahorse-plugins/branches/gnome-2-24/ChangeLog
seahorse-plugins/branches/gnome-2-24/plugins/epiphany/mozilla/mozilla-helper.cpp
Modified: seahorse-plugins/branches/gnome-2-24/plugins/epiphany/mozilla/mozilla-helper.cpp
==============================================================================
--- seahorse-plugins/branches/gnome-2-24/plugins/epiphany/mozilla/mozilla-helper.cpp (original)
+++ seahorse-plugins/branches/gnome-2-24/plugins/epiphany/mozilla/mozilla-helper.cpp Tue Nov 4 22:23:58 2008
@@ -78,8 +78,8 @@
mozilla_is_input (EphyEmbed *embed)
{
nsCOMPtr<nsIWebBrowser> browser;
- gtk_moz_embed_get_nsIWebBrowser (GTK_MOZ_EMBED (embed),
- getter_AddRefs (browser));
+ gtk_moz_embed_get_nsIWebBrowser (GTK_MOZ_EMBED (gtk_bin_get_child (GTK_BIN (embed))),
+ getter_AddRefs (browser));
nsCOMPtr<nsIWebBrowserFocus> focus (do_QueryInterface(browser));
if (!focus) return FALSE;
@@ -100,8 +100,8 @@
mozilla_get_text (EphyEmbed *embed)
{
nsCOMPtr<nsIWebBrowser> browser;
- gtk_moz_embed_get_nsIWebBrowser (GTK_MOZ_EMBED (embed),
- getter_AddRefs (browser));
+ gtk_moz_embed_get_nsIWebBrowser (GTK_MOZ_EMBED (gtk_bin_get_child (GTK_BIN (embed))),
+ getter_AddRefs (browser));
nsCOMPtr<nsIWebBrowserFocus> focus (do_QueryInterface(browser));
if (!focus)
return NULL;
@@ -139,8 +139,8 @@
mozilla_set_text (EphyEmbed *embed, char *new_text)
{
nsCOMPtr<nsIWebBrowser> browser;
- gtk_moz_embed_get_nsIWebBrowser (GTK_MOZ_EMBED (embed),
- getter_AddRefs (browser));
+ gtk_moz_embed_get_nsIWebBrowser (GTK_MOZ_EMBED (gtk_bin_get_child (GTK_BIN (embed))),
+ getter_AddRefs (browser));
nsCOMPtr<nsIWebBrowserFocus> focus (do_QueryInterface(browser));
if (!focus) return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]