aboutsummaryrefslogtreecommitdiffstats
path: root/embed
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 /embed
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.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/GlobalHistory.cpp8
1 files changed, 8 insertions, 0 deletions
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)