aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-06-05 05:27:10 +0800
committerChristian Persch <chpe@src.gnome.org>2006-06-05 05:27:10 +0800
commit87aee21becab4bad890e735bb1b29e3ba6f9ac9f (patch)
treee0effeca4b37e9c0f96a41726e9dbf673784984a /embed
parentae4e4736818f442abd435274cb3b75f8da02ad33 (diff)
downloadgsoc2013-epiphany-87aee21becab4bad890e735bb1b29e3ba6f9ac9f.tar
gsoc2013-epiphany-87aee21becab4bad890e735bb1b29e3ba6f9ac9f.tar.gz
gsoc2013-epiphany-87aee21becab4bad890e735bb1b29e3ba6f9ac9f.tar.bz2
gsoc2013-epiphany-87aee21becab4bad890e735bb1b29e3ba6f9ac9f.tar.lz
gsoc2013-epiphany-87aee21becab4bad890e735bb1b29e3ba6f9ac9f.tar.xz
gsoc2013-epiphany-87aee21becab4bad890e735bb1b29e3ba6f9ac9f.tar.zst
gsoc2013-epiphany-87aee21becab4bad890e735bb1b29e3ba6f9ac9f.zip
The API change was reverted on 1.8 branch. Fixes bug #343592.
2006-06-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySidebar.cpp: The API change was reverted on 1.8 branch. Fixes bug #343592.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/EphySidebar.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/embed/mozilla/EphySidebar.cpp b/embed/mozilla/EphySidebar.cpp
index e89749ad2..2a60eb1f4 100644
--- a/embed/mozilla/EphySidebar.cpp
+++ b/embed/mozilla/EphySidebar.cpp
@@ -36,7 +36,11 @@
#include "EphySidebar.h"
+#ifdef MOZILLA_1_8_BRANCH
+NS_IMPL_ISUPPORTS2_CI(EphySidebar, nsISidebar, nsISidebar_MOZILLA_1_8_BRANCH)
+#else
NS_IMPL_ISUPPORTS1_CI(EphySidebar, nsISidebar)
+#endif
EphySidebar::EphySidebar()
{
@@ -110,7 +114,7 @@ EphySidebar::AddSearchEngine (const char *aEngineURL,
return NS_OK;
}
-#ifdef HAVE_GECKO_1_8_1
+#ifdef HAVE_GECKO_1_9
/* void addMicrosummaryGenerator (in string generatorURL); */
NS_IMETHODIMP
@@ -119,4 +123,4 @@ EphySidebar::AddMicrosummaryGenerator (const char *generatorURL)
return NS_ERROR_NOT_IMPLEMENTED;
}
-#endif /* HAVE_GECKO_1_8_1 */
+#endif /* HAVE_GECKO_1_9 */