aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-20 01:46:53 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-20 01:46:53 +0800
commitb3dec5832fbbefc25e0efac92476a67130620ce5 (patch)
tree7e4dcd89a054eda3257e24750ad89abc665956de
parent9dfe2cae89f22c7f6bd38e9626221df09085453d (diff)
downloadgsoc2013-epiphany-b3dec5832fbbefc25e0efac92476a67130620ce5.tar
gsoc2013-epiphany-b3dec5832fbbefc25e0efac92476a67130620ce5.tar.gz
gsoc2013-epiphany-b3dec5832fbbefc25e0efac92476a67130620ce5.tar.bz2
gsoc2013-epiphany-b3dec5832fbbefc25e0efac92476a67130620ce5.tar.lz
gsoc2013-epiphany-b3dec5832fbbefc25e0efac92476a67130620ce5.tar.xz
gsoc2013-epiphany-b3dec5832fbbefc25e0efac92476a67130620ce5.tar.zst
gsoc2013-epiphany-b3dec5832fbbefc25e0efac92476a67130620ce5.zip
Mozilla api change, pfffff
2003-06-19 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/EphyWrapper.cpp: Mozilla api change, pfffff
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/EphyWrapper.cpp4
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c17dcf399..b104d8479 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-06-19 Marco Pesenti Gritti <marco@it.gnome.org>
+
+ * embed/mozilla/EphyWrapper.cpp:
+
+ Mozilla api change, pfffff
+
2003-06-19 Xan Lopez <xan@masilla.org>
* embed/mozilla/ProgressListener.cpp:
diff --git a/embed/mozilla/EphyWrapper.cpp b/embed/mozilla/EphyWrapper.cpp
index b08447145..367579902 100644
--- a/embed/mozilla/EphyWrapper.cpp
+++ b/embed/mozilla/EphyWrapper.cpp
@@ -730,7 +730,11 @@ nsresult EphyWrapper::ForceEncoding (const char *encoding)
&result);
if (NS_FAILED(result) || !mdv) return NS_ERROR_FAILURE;
+#if MOZILLA_SNAPSHOT > 8
+ result = mdv->SetForceCharacterSet (nsDependentCString(encoding));
+#else
result = mdv->SetForceCharacterSet (NS_ConvertUTF8toUCS2(encoding).get());
+#endif
return result;
}