aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-09 02:11:56 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-09 02:11:56 +0800
commitab5fe114f9aace01c98a6407fb657adf274cb531 (patch)
tree5d69371a1d0da9fe5f682aff181539d71aff6dc7 /embed/mozilla/EphyBrowser.h
parent859bd4706dba82e469d699aebd3f6336c0482c7a (diff)
downloadgsoc2013-epiphany-ab5fe114f9aace01c98a6407fb657adf274cb531.tar
gsoc2013-epiphany-ab5fe114f9aace01c98a6407fb657adf274cb531.tar.gz
gsoc2013-epiphany-ab5fe114f9aace01c98a6407fb657adf274cb531.tar.bz2
gsoc2013-epiphany-ab5fe114f9aace01c98a6407fb657adf274cb531.tar.lz
gsoc2013-epiphany-ab5fe114f9aace01c98a6407fb657adf274cb531.tar.xz
gsoc2013-epiphany-ab5fe114f9aace01c98a6407fb657adf274cb531.tar.zst
gsoc2013-epiphany-ab5fe114f9aace01c98a6407fb657adf274cb531.zip
Fix compiler warning about anon enum mismatch.
2004-08-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Fix compiler warning about anon enum mismatch.
Diffstat (limited to 'embed/mozilla/EphyBrowser.h')
-rw-r--r--embed/mozilla/EphyBrowser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/embed/mozilla/EphyBrowser.h b/embed/mozilla/EphyBrowser.h
index 52cb31d50..66e97c9e5 100644
--- a/embed/mozilla/EphyBrowser.h
+++ b/embed/mozilla/EphyBrowser.h
@@ -113,11 +113,11 @@ public:
nsresult GoToHistoryIndex (PRInt16 index);
#if (!MOZILLA_IS_BRANCH (1, 7) || !MOZILLA_CHECK_VERSION3 (1, 7, 3)) && !MOZILLA_CHECK_VERSION4 (1, 8, MOZILLA_ALPHA, 3)
- enum { RELOAD_NORMAL = 0 };
- enum { RELOAD_FORCE = 1 };
- enum { RELOAD_ENCODING_CHANGE = 2 };
+ enum ReloadType { RELOAD_NORMAL = 0,
+ RELOAD_FORCE = 1,
+ RELOAD_ENCODING_CHANGE = 2 };
- nsresult Reload (PRUint32 flags);
+ nsresult Reload (ReloadType flags);
#endif
nsresult ForceEncoding (const char *encoding);