aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-03-15 00:39:43 +0800
committerChristian Persch <chpe@src.gnome.org>2008-03-15 00:39:43 +0800
commitf839b9ebca7ec2b32ef8e59806be54a919eb3322 (patch)
tree753d3686b331067d134d939a4444f495545634d1 /embed/mozilla
parent3f113c243f397cfb15562f8924fee86673240d82 (diff)
downloadgsoc2013-epiphany-f839b9ebca7ec2b32ef8e59806be54a919eb3322.tar
gsoc2013-epiphany-f839b9ebca7ec2b32ef8e59806be54a919eb3322.tar.gz
gsoc2013-epiphany-f839b9ebca7ec2b32ef8e59806be54a919eb3322.tar.bz2
gsoc2013-epiphany-f839b9ebca7ec2b32ef8e59806be54a919eb3322.tar.lz
gsoc2013-epiphany-f839b9ebca7ec2b32ef8e59806be54a919eb3322.tar.xz
gsoc2013-epiphany-f839b9ebca7ec2b32ef8e59806be54a919eb3322.tar.zst
gsoc2013-epiphany-f839b9ebca7ec2b32ef8e59806be54a919eb3322.zip
Fix the build with 1.9b4.
svn path=/trunk/; revision=8108
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/FilePicker.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp
index 6850b8e34..a35912809 100644
--- a/embed/mozilla/FilePicker.cpp
+++ b/embed/mozilla/FilePicker.cpp
@@ -357,8 +357,13 @@ NS_IMETHODIMP GFilePicker::GetFile(nsILocalFile **aFile)
return NS_OK;
}
+#ifdef HAVE_GECKO_1_9
+/* readonly attribute nsIURI fileURL; */
+NS_IMETHODIMP GFilePicker::GetFileURL(nsIURI **aFileURL)
+#else
/* readonly attribute nsIFileURL fileURL; */
NS_IMETHODIMP GFilePicker::GetFileURL(nsIFileURL **aFileURL)
+#endif
{
NS_ENSURE_TRUE (mDialog, NS_ERROR_FAILURE);