aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-favicon-cache.c2
-rw-r--r--embed/mozilla/EphyBrowser.cpp2
2 files changed, 2 insertions, 2 deletions
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;