diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-11-07 00:29:52 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-11-07 00:29:52 +0800 |
commit | ec786725e61fa02ea42754974ba9e729551c3542 (patch) | |
tree | 5a495d1b62803901c8d0649b1405e89efd0172ea | |
parent | b5c036538ffb6fbb2ace518ee5b4ad8b2d5c8ef6 (diff) | |
download | gsoc2013-epiphany-ec786725e61fa02ea42754974ba9e729551c3542.tar gsoc2013-epiphany-ec786725e61fa02ea42754974ba9e729551c3542.tar.gz gsoc2013-epiphany-ec786725e61fa02ea42754974ba9e729551c3542.tar.bz2 gsoc2013-epiphany-ec786725e61fa02ea42754974ba9e729551c3542.tar.lz gsoc2013-epiphany-ec786725e61fa02ea42754974ba9e729551c3542.tar.xz gsoc2013-epiphany-ec786725e61fa02ea42754974ba9e729551c3542.tar.zst gsoc2013-epiphany-ec786725e61fa02ea42754974ba9e729551c3542.zip |
Small cleanups
2003-11-06 Marco Pesenti Gritti <marco@gnome.org>
* embed/mozilla/ContentHandler.cpp:
* embed/mozilla/ContentHandler.h:
Small cleanups
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 6 | ||||
-rw-r--r-- | embed/mozilla/ContentHandler.h | 3 |
3 files changed, 7 insertions, 9 deletions
@@ -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 |