aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--embed/mozilla/ContentHandler.cpp6
-rw-r--r--embed/mozilla/ContentHandler.h3
3 files changed, 7 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 433462810..48770c1f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2003-11-06 Marco Pesenti Gritti <marco@gnome.org>
+ * embed/mozilla/ContentHandler.cpp:
+ * embed/mozilla/ContentHandler.h:
+
+ Small cleanups
+
+2003-11-06 Marco Pesenti Gritti <marco@gnome.org>
+
* src/ephy-main.c:
* src/ephy-shell.c:
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index 742db0319..386c082c2 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -81,7 +81,6 @@ NS_IMETHODIMP GContentHandler::Show(nsIHelperAppLauncher *aLauncher,
nsresult rv;
mLauncher = aLauncher;
- mContext = aContext;
rv = Init ();
if (NS_FAILED (rv)) return rv;
@@ -286,9 +285,6 @@ NS_METHOD GContentHandler::SynchroniseMIMEInfo (void)
return NS_OK;
}
-////////////////////////////////////////////////////////////////////////////////
-// begin local private methods impl
-////////////////////////////////////////////////////////////////////////////////
NS_METHOD GContentHandler::Init (void)
{
nsresult rv;
@@ -343,8 +339,6 @@ NS_METHOD GContentHandler::MIMEAskAction (void)
nsresult rv;
gboolean auto_open;
- /* FIXME can we assume mime is not NULL ? */
-
auto_open = eel_gconf_get_boolean (CONF_AUTO_OPEN_DOWNLOADS);
GContentHandler *mContentHandler = this;
GnomeVFSMimeApplication *DefaultApp = gnome_vfs_mime_get_default_application(mMimeType);
diff --git a/embed/mozilla/ContentHandler.h b/embed/mozilla/ContentHandler.h
index 85cc7debd..78b218dc9 100644
--- a/embed/mozilla/ContentHandler.h
+++ b/embed/mozilla/ContentHandler.h
@@ -74,7 +74,6 @@ class GContentHandler : public nsIHelperAppLauncherDialog
NS_METHOD MIMEAskAction (void);
nsCOMPtr<nsIHelperAppLauncher> mLauncher;
- nsCOMPtr<nsISupports> mContext;
nsCOMPtr<nsIURI> mUri;
PRInt64 mTimeDownloadStarted;
@@ -88,6 +87,4 @@ class GContentHandler : public nsIHelperAppLauncherDialog
nsCString mScheme;
};
-extern nsresult NS_NewContentHandlerFactory(nsIFactory** aFactory);
-
#endif