aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-09 23:06:36 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-09 23:06:36 +0800
commitb0db89833c3973dd34b670fd40f0ca90a07766a7 (patch)
tree3a78c7aa8ddec7aa128970e6dfdab1779b429dc3
parent0b5eddd9ee4966a0d4863a997acbf7a444bdfb77 (diff)
downloadgsoc2013-epiphany-b0db89833c3973dd34b670fd40f0ca90a07766a7.tar
gsoc2013-epiphany-b0db89833c3973dd34b670fd40f0ca90a07766a7.tar.gz
gsoc2013-epiphany-b0db89833c3973dd34b670fd40f0ca90a07766a7.tar.bz2
gsoc2013-epiphany-b0db89833c3973dd34b670fd40f0ca90a07766a7.tar.lz
gsoc2013-epiphany-b0db89833c3973dd34b670fd40f0ca90a07766a7.tar.xz
gsoc2013-epiphany-b0db89833c3973dd34b670fd40f0ca90a07766a7.tar.zst
gsoc2013-epiphany-b0db89833c3973dd34b670fd40f0ca90a07766a7.zip
Don't check for nsIBrowserHistory.
2005-01-09 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/GlobalHistory.cpp: Don't check for nsIBrowserHistory.
-rw-r--r--ChangeLog8
-rw-r--r--configure.ac7
-rw-r--r--embed/mozilla/GlobalHistory.cpp2
3 files changed, 12 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index d5caa147a..ea455e755 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2005-01-09 Christian Persch <chpe@cvs.gnome.org>
+ * configure.ac:
+ * embed/mozilla/GlobalHistory.cpp:
+
+ Don't check for nsIBrowserHistory.
+
+2005-01-09 Christian Persch <chpe@cvs.gnome.org>
+
+
* embed/mozilla/GtkNSSSecurityWarningDialogs.cpp:
Add mnemonic to Send button.
diff --git a/configure.ac b/configure.ac
index e13e4b9e8..a68f3e98b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -335,12 +335,11 @@ AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
[[#include <nsIURI.h>
#include <nsIGlobalHistory.h>
- #include <docshell/nsIGlobalHistory2.h>
- #include <history/nsIBrowserHistory.h>]],
- [[nsIBrowserHistory *p;
+ #include <docshell/nsIGlobalHistory2.h>]],
+ [[nsIGlobalHistory2 *p;
p->AddURI(nsnull,PR_FALSE,PR_FALSE,nsnull);]]
)],
- [AC_DEFINE([MOZ_NSIBROWSERHISTORY_ADDURI_WITH_REFERRER],[1],[Define if nsIGlobalHistory2::AddURI takes a referrer]) result=yes],
+ [AC_DEFINE([MOZ_NSIGLOBALHISTORY2_ADDURI_WITH_REFERRER],[1],[Define if nsIGlobalHistory2::AddURI takes a referrer]) result=yes],
[result=no])
AC_MSG_RESULT([$result])
diff --git a/embed/mozilla/GlobalHistory.cpp b/embed/mozilla/GlobalHistory.cpp
index 874eedd96..b5bf2e3bb 100644
--- a/embed/mozilla/GlobalHistory.cpp
+++ b/embed/mozilla/GlobalHistory.cpp
@@ -46,7 +46,7 @@ MozGlobalHistory::~MozGlobalHistory ()
{
}
-#ifdef MOZ_NSIBROWSERHISTORY_ADDURI_WITH_REFERRER
+#ifdef MOZ_NSIGLOBALHISTORY2_ADDURI_WITH_REFERRER
/* void addURI (in nsIURI aURI, in boolean aRedirect, in boolean aToplevel, in nsIURI aReferrer); */
NS_IMETHODIMP MozGlobalHistory::AddURI(nsIURI *aURI, PRBool aRedirect, PRBool aToplevel, nsIURI *aReferrer)
#else