aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-07-03 01:19:37 +0800
committerChristian Persch <chpe@src.gnome.org>2004-07-03 01:19:37 +0800
commitcd9cbc846a259d14140ad5f11726565d64a0d03d (patch)
tree16da012ce3b8a66d59dda7004740cc3dad3bf8e0
parent7496a69745a356aa97df30d8cac0113bafd5792d (diff)
downloadgsoc2013-epiphany-cd9cbc846a259d14140ad5f11726565d64a0d03d.tar
gsoc2013-epiphany-cd9cbc846a259d14140ad5f11726565d64a0d03d.tar.gz
gsoc2013-epiphany-cd9cbc846a259d14140ad5f11726565d64a0d03d.tar.bz2
gsoc2013-epiphany-cd9cbc846a259d14140ad5f11726565d64a0d03d.tar.lz
gsoc2013-epiphany-cd9cbc846a259d14140ad5f11726565d64a0d03d.tar.xz
gsoc2013-epiphany-cd9cbc846a259d14140ad5f11726565d64a0d03d.tar.zst
gsoc2013-epiphany-cd9cbc846a259d14140ad5f11726565d64a0d03d.zip
Depend on mozilla >= 1.7 final. Simplify some mozilla version checks.
2004-07-02 Christian Persch <chpe@cvs.gnome.org> * configure.in: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: Depend on mozilla >= 1.7 final. Simplify some mozilla version checks.
-rw-r--r--ChangeLog8
-rw-r--r--configure.in2
-rw-r--r--embed/mozilla/GtkNSSKeyPairDialogs.cpp6
3 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index cbaa54295..94bf0d242 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-07-02 Christian Persch <chpe@cvs.gnome.org>
+
+ * configure.in:
+ * embed/mozilla/GtkNSSKeyPairDialogs.cpp:
+
+ Depend on mozilla >= 1.7 final. Simplify some mozilla
+ version checks.
+
2004-07-02 Marco Pesenti Gritti <marco@gnome.org>
* src/bookmarks/ephy-bookmark-action.c: (show_context_menu),
diff --git a/configure.in b/configure.in
index dfc886bf5..683a8dc31 100644
--- a/configure.in
+++ b/configure.in
@@ -218,7 +218,7 @@ fi
AC_DEFINE_UNQUOTED(MOZILLA_TYPE, $type, [Define to the Mozilla release type.])
AC_DEFINE_UNQUOTED(MOZILLA_MICRO, $micro, [Define to the Mozilla micro version.])
-if test "$1" -lt 1 -o \( "$1" -eq 1 -a "$2" -lt 7 \) ; then
+if test "$1" -lt 1 -o \( "$1" -eq 1 -a "$2" -lt 7 \) -o \( "$1" -eq 1 -a "$2" -eq 7 -a "$type" -lt 4 \); then
AC_ERROR([
*****************************************************************************
Epiphany can be built using Mozilla 1.7, 1.8a1, 1.8a2 or trunk
diff --git a/embed/mozilla/GtkNSSKeyPairDialogs.cpp b/embed/mozilla/GtkNSSKeyPairDialogs.cpp
index 95af550d3..433f5a714 100644
--- a/embed/mozilla/GtkNSSKeyPairDialogs.cpp
+++ b/embed/mozilla/GtkNSSKeyPairDialogs.cpp
@@ -93,7 +93,7 @@ public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMWINDOWINTERNAL
NS_DECL_NSIDOMWINDOW
-#if MOZILLA_CHECK_VERSION4 (1, 7, MOZILLA_RC, 3) && !MOZILLA_IS_VERSION4 (1, 8, MOZILLA_ALPHA, 1)
+#if !MOZILLA_IS_VERSION4 (1, 8, MOZILLA_ALPHA, 1)
NS_DECL_NSIDOMWINDOW2
#endif
@@ -103,7 +103,7 @@ public:
gboolean close_called;
};
-#if MOZILLA_CHECK_VERSION4 (1, 7, MOZILLA_RC, 3) && !MOZILLA_IS_VERSION4 (1, 8, MOZILLA_ALPHA, 1)
+#if !MOZILLA_IS_VERSION4 (1, 8, MOZILLA_ALPHA, 1)
NS_IMPL_ISUPPORTS3(KeyPairHelperWindow, nsIDOMWindowInternal, nsIDOMWindow, nsIDOMWindow2)
#else
NS_IMPL_ISUPPORTS2(KeyPairHelperWindow, nsIDOMWindowInternal, nsIDOMWindow)
@@ -714,7 +714,7 @@ NS_IMETHODIMP KeyPairHelperWindow::SizeToContent()
MOZ_NOT_IMPLEMENTED
}
-#if MOZILLA_CHECK_VERSION4 (1, 7, MOZILLA_RC, 3) && !MOZILLA_IS_VERSION4 (1, 8, MOZILLA_ALPHA, 1)
+#if !MOZILLA_IS_VERSION4 (1, 8, MOZILLA_ALPHA, 1)
NS_IMETHODIMP KeyPairHelperWindow::GetWindowRoot(nsIDOMEventTarget * *aWindowRoot)
{