From ec786725e61fa02ea42754974ba9e729551c3542 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 6 Nov 2003 16:29:52 +0000 Subject: Small cleanups 2003-11-06 Marco Pesenti Gritti * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Small cleanups --- ChangeLog | 7 +++++++ embed/mozilla/ContentHandler.cpp | 6 ------ embed/mozilla/ContentHandler.h | 3 --- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 433462810..48770c1f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-11-06 Marco Pesenti Gritti + + * embed/mozilla/ContentHandler.cpp: + * embed/mozilla/ContentHandler.h: + + Small cleanups + 2003-11-06 Marco Pesenti Gritti * src/ephy-main.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 mLauncher; - nsCOMPtr mContext; nsCOMPtr mUri; PRInt64 mTimeDownloadStarted; @@ -88,6 +87,4 @@ class GContentHandler : public nsIHelperAppLauncherDialog nsCString mScheme; }; -extern nsresult NS_NewContentHandlerFactory(nsIFactory** aFactory); - #endif -- cgit v1.2.3