aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-03-06 06:25:27 +0800
committerChristian Persch <chpe@src.gnome.org>2004-03-06 06:25:27 +0800
commitac13dcaa2b35cc28f6adf114f1e86278646f4dc7 (patch)
treeeb39fe5f2366719c1a5ee0b8b2a380be96672415
parente84ae1938ab8d79442a7f82580e3f965f78f461a (diff)
downloadgsoc2013-epiphany-ac13dcaa2b35cc28f6adf114f1e86278646f4dc7.tar
gsoc2013-epiphany-ac13dcaa2b35cc28f6adf114f1e86278646f4dc7.tar.gz
gsoc2013-epiphany-ac13dcaa2b35cc28f6adf114f1e86278646f4dc7.tar.bz2
gsoc2013-epiphany-ac13dcaa2b35cc28f6adf114f1e86278646f4dc7.tar.lz
gsoc2013-epiphany-ac13dcaa2b35cc28f6adf114f1e86278646f4dc7.tar.xz
gsoc2013-epiphany-ac13dcaa2b35cc28f6adf114f1e86278646f4dc7.tar.zst
gsoc2013-epiphany-ac13dcaa2b35cc28f6adf114f1e86278646f4dc7.zip
Increase MOZILLA_SNAPSHOT for 1.7b, and depend on gtk+ >= 2.3.5.
2004-03-05 Christian Persch <chpe@cvs.gnome.org> * configure.in: Increase MOZILLA_SNAPSHOT for 1.7b, and depend on gtk+ >= 2.3.5. * embed/mozilla/GlobalHistory.cpp: Adapt to changed mozilla API.
-rw-r--r--ChangeLog10
-rw-r--r--configure.in10
-rw-r--r--embed/mozilla/GlobalHistory.cpp8
3 files changed, 23 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c4f10fe3..872e3b9eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2004-03-05 Christian Persch <chpe@cvs.gnome.org>
+ * configure.in:
+
+ Increase MOZILLA_SNAPSHOT for 1.7b, and depend on gtk+ >= 2.3.5.
+
+ * embed/mozilla/GlobalHistory.cpp:
+
+ Adapt to changed mozilla API.
+
+2004-03-05 Christian Persch <chpe@cvs.gnome.org>
+
* embed/mozilla/EphyBrowser.cpp:
Don't return an error when a DOM document isn't a HTML document, it's ok
diff --git a/configure.in b/configure.in
index e6a31310e..0951e449d 100644
--- a/configure.in
+++ b/configure.in
@@ -18,8 +18,8 @@ AC_PROG_INTLTOOL([0.29])
dnl put the ACLOCAL flags in the Makefile
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
-GLIB_REQUIRED=2.3.3
-GTK_REQUIRED=2.3.4
+GLIB_REQUIRED=2.3.5
+GTK_REQUIRED=2.3.5
LIBBONOBOUI_REQUIRED=2.1.1
LIBXML_REQUIRED=2.6.6
LIBGNOMEVFS_REQUIRED=2.3.1
@@ -197,9 +197,9 @@ case "$MOZILLA_VERSION" in
1.6b) MOZILLA_SNAPSHOT=13 ;;
1.6) MOZILLA_SNAPSHOT=13 ;;
1.7a) MOZILLA_SNAPSHOT=14 ;;
- 1.7b) MOZILLA_SNAPSHOT=14 ;;
- 1.7) MOZILLA_SNAPSHOT=14 ;;
-trunk) MOZILLA_SNAPSHOT=14 ;;
+ 1.7b) MOZILLA_SNAPSHOT=15 ;;
+ 1.7) MOZILLA_SNAPSHOT=15 ;;
+trunk) MOZILLA_SNAPSHOT=15 ;;
*) AC_ERROR([
*****************************************************************************
Epiphany can be built using Mozilla 1.4, 1.4.1, 1.5, 1.6a, 1.6b, 1.6, 1.7a or
diff --git a/embed/mozilla/GlobalHistory.cpp b/embed/mozilla/GlobalHistory.cpp
index dc836dc97..a612fb3b6 100644
--- a/embed/mozilla/GlobalHistory.cpp
+++ b/embed/mozilla/GlobalHistory.cpp
@@ -145,11 +145,19 @@ NS_IMETHODIMP MozGlobalHistory::RemoveAllPages()
return NS_ERROR_NOT_IMPLEMENTED;
}
+#if MOZILLA_SNAPSHOT > 14
+/* readonly attribute AUTF8String lastPageVisited; */
+NS_IMETHODIMP MozGlobalHistory::GetLastPageVisited(nsACString & aLastPageVisited)
+{
+ return NS_ERROR_NOT_IMPLEMENTED;
+}
+#else
/* readonly attribute string lastPageVisited; */
NS_IMETHODIMP MozGlobalHistory::GetLastPageVisited(char **aLastPageVisited)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
+#endif
#if MOZILLA_SNAPSHOT > 8 && MOZILLA_SNAPSHOT < 14
NS_IMETHODIMP MozGlobalHistory::SetLastPageVisited(const char *aLastPageVisited)