aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-10-29 07:41:25 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-29 07:41:25 +0800
commitec20564f0a61b4f1dc58d9ec490d4b66a6543ae0 (patch)
tree51d6002792014467827015879614db0b1486be77 /embed/mozilla/EphyBrowser.cpp
parentb46894849a0793af0e19e860d4900ad7929fa1e9 (diff)
downloadgsoc2013-epiphany-ec20564f0a61b4f1dc58d9ec490d4b66a6543ae0.tar
gsoc2013-epiphany-ec20564f0a61b4f1dc58d9ec490d4b66a6543ae0.tar.gz
gsoc2013-epiphany-ec20564f0a61b4f1dc58d9ec490d4b66a6543ae0.tar.bz2
gsoc2013-epiphany-ec20564f0a61b4f1dc58d9ec490d4b66a6543ae0.tar.lz
gsoc2013-epiphany-ec20564f0a61b4f1dc58d9ec490d4b66a6543ae0.tar.xz
gsoc2013-epiphany-ec20564f0a61b4f1dc58d9ec490d4b66a6543ae0.tar.zst
gsoc2013-epiphany-ec20564f0a61b4f1dc58d9ec490d4b66a6543ae0.zip
Make some vars private, remove an unused one.
2003-10-29 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Make some vars private, remove an unused one. * embed/mozilla/EventContext.cpp: Use the content dom document to determine is_framed_page.
Diffstat (limited to 'embed/mozilla/EphyBrowser.cpp')
-rw-r--r--embed/mozilla/EphyBrowser.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp
index 9dbafbbd7..7579d8712 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -91,8 +91,6 @@ nsresult EphyBrowser::Init (GtkMozEmbed *mozembed)
{
nsresult rv;
- mGtkMozEmbed = mozembed;
-
gtk_moz_embed_get_nsIWebBrowser (mozembed,
getter_AddRefs(mWebBrowser));
if (!mWebBrowser) return NS_ERROR_FAILURE;
@@ -106,7 +104,7 @@ nsresult EphyBrowser::Init (GtkMozEmbed *mozembed)
mEventListener = new EphyEventListener();
- rv = mEventListener->Init (EPHY_EMBED (mGtkMozEmbed));
+ rv = mEventListener->Init (EPHY_EMBED (mozembed));
if (NS_FAILED (rv)) return NS_ERROR_FAILURE;
rv = GetListener();