diff options
author | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-04-30 06:41:05 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-04-30 06:41:05 +0800 |
commit | 43dbdc1eb7b96e4672d0d3bd68f01fd65f1690b7 (patch) | |
tree | 6824efba9d852d718036fae1503c82281e87db70 /embed | |
parent | d6b013e758b63f5493e6986b86bc29d0b62c8d94 (diff) | |
download | gsoc2013-epiphany-43dbdc1eb7b96e4672d0d3bd68f01fd65f1690b7.tar gsoc2013-epiphany-43dbdc1eb7b96e4672d0d3bd68f01fd65f1690b7.tar.gz gsoc2013-epiphany-43dbdc1eb7b96e4672d0d3bd68f01fd65f1690b7.tar.bz2 gsoc2013-epiphany-43dbdc1eb7b96e4672d0d3bd68f01fd65f1690b7.tar.lz gsoc2013-epiphany-43dbdc1eb7b96e4672d0d3bd68f01fd65f1690b7.tar.xz gsoc2013-epiphany-43dbdc1eb7b96e4672d0d3bd68f01fd65f1690b7.tar.zst gsoc2013-epiphany-43dbdc1eb7b96e4672d0d3bd68f01fd65f1690b7.zip |
fix build bustage
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/FilePicker.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp index 91a893d2a..188cae460 100644 --- a/embed/mozilla/FilePicker.cpp +++ b/embed/mozilla/FilePicker.cpp @@ -83,7 +83,7 @@ GFilePicker::~GFilePicker() /* void init (in nsIDOMWindow parent, in AString title, in short mode); */ #if MOZILLA_SNAPSHOT < 16 -NS_IMETHODIMP GFilePicker::Init(nsIDOMWindowInternal *parent, PRUnichar *title, PRInt16 mode) +NS_IMETHODIMP GFilePicker::Init(nsIDOMWindowInternal *parent, const PRUnichar *title, PRInt16 mode) #else NS_IMETHODIMP GFilePicker::Init(nsIDOMWindow *parent, const nsAString& title, PRInt16 mode) #endif @@ -287,7 +287,11 @@ NS_IMETHODIMP GFilePicker::GetDefaultString(nsAString& aDefaultString) { converted = g_filename_to_utf8(filename, -1, NULL, NULL, NULL); +#if MOZILLA_SNAPSHOT < 16 + *aDefaultString = ToNewUnicode (NS_ConvertUTF8toUTF16 (converted)); +#else aDefaultString = NS_ConvertUTF8toUTF16 (converted); +#endif g_free (filename); g_free (converted); |