From ac13dcaa2b35cc28f6adf114f1e86278646f4dc7 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 5 Mar 2004 22:25:27 +0000 Subject: Increase MOZILLA_SNAPSHOT for 1.7b, and depend on gtk+ >= 2.3.5. 2004-03-05 Christian Persch * configure.in: Increase MOZILLA_SNAPSHOT for 1.7b, and depend on gtk+ >= 2.3.5. * embed/mozilla/GlobalHistory.cpp: Adapt to changed mozilla API. --- embed/mozilla/GlobalHistory.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'embed') 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) -- cgit v1.2.3