From 803df66ce8311b4630402a5c6efad3922af8dd6b Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 16 Oct 2005 18:52:27 +0000 Subject: Enable favicons for https: sites on gecko 1.8. 2005-10-16 Christian Persch * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get): * embed/mozilla/EphyBrowser.cpp: Enable favicons for https: sites on gecko 1.8. --- embed/ephy-favicon-cache.c | 2 +- embed/mozilla/EphyBrowser.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'embed') diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c index 53207d65b..f38ddc3a6 100644 --- a/embed/ephy-favicon-cache.c +++ b/embed/ephy-favicon-cache.c @@ -588,7 +588,7 @@ ephy_favicon_cache_get (EphyFaviconCache *cache, if (url == NULL) return NULL; -#ifdef HAVE_GECKO_1_9 +#ifdef HAVE_GECKO_1_8 if (!g_str_has_prefix (url, "http://") && !g_str_has_prefix (url, "https://")) return NULL; #else diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp index 688ee482b..06f84bd94 100644 --- a/embed/mozilla/EphyBrowser.cpp +++ b/embed/mozilla/EphyBrowser.cpp @@ -181,7 +181,7 @@ EphyDOMLinkEventListener::HandleEvent (nsIDOMEvent* aDOMEvent) /* Only proceed for http favicons. Bug #312291 */ PRBool isHttp = PR_FALSE; favUri->SchemeIs ("http", &isHttp); -#ifdef HAVE_GECKO_1_9 +#ifdef HAVE_GECKO_1_8 PRBool isHttps = PR_FALSE; favUri->SchemeIs ("https", &isHttps); if (!isHttp && !isHttps) return NS_OK; -- cgit v1.2.3