aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-version.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-06 23:31:18 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-06 23:31:18 +0800
commitace0653216f5e6e4d8f4f972cc96a0f27f147cf8 (patch)
treeb92807f76fbfa3b3ee1fda9d8052f8e062807274 /embed/mozilla/mozilla-version.h
parent54f1919cae74d3551c23eef9d00975344d1c78a9 (diff)
downloadgsoc2013-epiphany-ace0653216f5e6e4d8f4f972cc96a0f27f147cf8.tar
gsoc2013-epiphany-ace0653216f5e6e4d8f4f972cc96a0f27f147cf8.tar.gz
gsoc2013-epiphany-ace0653216f5e6e4d8f4f972cc96a0f27f147cf8.tar.bz2
gsoc2013-epiphany-ace0653216f5e6e4d8f4f972cc96a0f27f147cf8.tar.lz
gsoc2013-epiphany-ace0653216f5e6e4d8f4f972cc96a0f27f147cf8.tar.xz
gsoc2013-epiphany-ace0653216f5e6e4d8f4f972cc96a0f27f147cf8.tar.zst
gsoc2013-epiphany-ace0653216f5e6e4d8f4f972cc96a0f27f147cf8.zip
Fix the reload workaround version checks to look for the correct versions.
2004-08-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-version.h: Fix the reload workaround version checks to look for the correct versions. Thanks to Crispin for noticing this.
Diffstat (limited to 'embed/mozilla/mozilla-version.h')
-rw-r--r--embed/mozilla/mozilla-version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-version.h b/embed/mozilla/mozilla-version.h
index 072c70b5c..3dc260cdf 100644
--- a/embed/mozilla/mozilla-version.h
+++ b/embed/mozilla/mozilla-version.h
@@ -45,6 +45,9 @@
(VERSION4(MOZILLA_MAJOR, MOZILLA_MINOR, MOZILLA_TYPE, MOZILLA_MICRO) == \
VERSION4(major, minor, type, micro))
+#define MOZILLA_IS_BRANCH(major, minor) \
+ (MOZILLA_MAJOR == major && MOZILLA_MINOR == minor)
+
/* Use the following:
*
* 1.4.1 -> MOZILLA_CHECK_VERSION3 (1,4,1)