aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/GlobalHistory.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-05-28 17:41:47 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-28 17:41:47 +0800
commit20feb46533bc952744580cc2825265b6ba0d98ef (patch)
treeead37c78bfafe135a943011827ac591a2550408b /embed/mozilla/GlobalHistory.cpp
parent4f86399784893cf8692901bf6c231ec09f9075a0 (diff)
downloadgsoc2013-epiphany-20feb46533bc952744580cc2825265b6ba0d98ef.tar
gsoc2013-epiphany-20feb46533bc952744580cc2825265b6ba0d98ef.tar.gz
gsoc2013-epiphany-20feb46533bc952744580cc2825265b6ba0d98ef.tar.bz2
gsoc2013-epiphany-20feb46533bc952744580cc2825265b6ba0d98ef.tar.lz
gsoc2013-epiphany-20feb46533bc952744580cc2825265b6ba0d98ef.tar.xz
gsoc2013-epiphany-20feb46533bc952744580cc2825265b6ba0d98ef.tar.zst
gsoc2013-epiphany-20feb46533bc952744580cc2825265b6ba0d98ef.zip
Make it build with mozilla cvs. Remove only pages on history clear, the
2003-05-28 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: * embed/ephy-history.c: (ephy_history_clear): * embed/mozilla/GlobalHistory.cpp: Make it build with mozilla cvs. Remove only pages on history clear, the sites are automatically removed (fix freeze).
Diffstat (limited to 'embed/mozilla/GlobalHistory.cpp')
-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 09c2c994a..034c8a94c 100644
--- a/embed/mozilla/GlobalHistory.cpp
+++ b/embed/mozilla/GlobalHistory.cpp
@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "ephy-embed-shell.h"
#include "GlobalHistory.h"
#include "nsCOMPtr.h"
@@ -103,6 +107,8 @@ NS_IMETHODIMP MozGlobalHistory::GetCount(PRUint32 *aCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
+
+#if MOZILLA_SNAPSHOT <= 7
/* void startBatchUpdate (); */
NS_IMETHODIMP MozGlobalHistory::StartBatchUpdate()
@@ -116,6 +122,8 @@ NS_IMETHODIMP MozGlobalHistory::EndBatchUpdate()
return NS_ERROR_NOT_IMPLEMENTED;
}
+#endif
+
/* void markPageAsTyped (in string url); */
NS_IMETHODIMP MozGlobalHistory::MarkPageAsTyped(const char *url)
{