aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--embed/mozilla/ContentHandler.cpp26
-rw-r--r--embed/mozilla/ContentHandler.h1
3 files changed, 7 insertions, 27 deletions
diff --git a/ChangeLog b/ChangeLog
index af368f1e5..76d5a944f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-11-14 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/ContentHandler.cpp:
+ * embed/mozilla/ContentHandler.h:
+
+ Remove dead code.
+
2004-11-13 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/MozillaPrivate.cpp:
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index 087181119..dd8da8d23 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -207,30 +207,6 @@ NS_METHOD GContentHandler::LaunchHelperApp (void)
return NS_OK;
}
-NS_METHOD GContentHandler::CheckAppSupportScheme (void)
-{
- GList *l;
-
- mAppSupportScheme = PR_FALSE;
-
- if (!mHelperApp) return NS_OK;
-
- if (mHelperApp->expects_uris != GNOME_VFS_MIME_APPLICATION_ARGUMENT_TYPE_URIS)
- return NS_OK;
-
- for (l = mHelperApp->supported_uri_schemes; l != NULL; l = l->next)
- {
- char *uri_scheme = (char *)l->data;
-
- if (strcmp (mScheme.get(), uri_scheme) == 0)
- {
- mAppSupportScheme = PR_TRUE;
- }
- }
-
- return NS_OK;
-}
-
NS_METHOD GContentHandler::Init (void)
{
nsresult rv;
@@ -367,8 +343,6 @@ NS_METHOD GContentHandler::MIMEDoAction (void)
mPermission = ephy_embed_shell_check_mime (embed_shell, mMimeType);
#endif
- CheckAppSupportScheme ();
-
if (auto_downloads)
{
mAction = CONTENT_ACTION_OPEN;
diff --git a/embed/mozilla/ContentHandler.h b/embed/mozilla/ContentHandler.h
index fff62cf6a..0f0378d79 100644
--- a/embed/mozilla/ContentHandler.h
+++ b/embed/mozilla/ContentHandler.h
@@ -71,7 +71,6 @@ class GContentHandler : public nsIHelperAppLauncherDialog
NS_METHOD MIMEConfirmAction ();
NS_METHOD MIMEDoAction ();
- NS_METHOD CheckAppSupportScheme ();
nsCOMPtr<nsIHelperAppLauncher> mLauncher;
nsCOMPtr<nsIURI> mUri;