diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 6 | ||||
-rw-r--r-- | embed/mozilla/ContentHandler.h | 3 |
2 files changed, 0 insertions, 9 deletions
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 |