diff options
author | Christian Persch <chpe@src.gnome.org> | 2008-03-28 23:08:39 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2008-03-28 23:08:39 +0800 |
commit | 12f1826b5aeedeac6594337d8f2e523913cd1d19 (patch) | |
tree | 40018c681f93fee7e8d1ca6c58bdec74fb1b4e04 | |
parent | 246d6f21294681caa7ce1e0002a9940cd5a65fc7 (diff) | |
download | gsoc2013-epiphany-12f1826b5aeedeac6594337d8f2e523913cd1d19.tar gsoc2013-epiphany-12f1826b5aeedeac6594337d8f2e523913cd1d19.tar.gz gsoc2013-epiphany-12f1826b5aeedeac6594337d8f2e523913cd1d19.tar.bz2 gsoc2013-epiphany-12f1826b5aeedeac6594337d8f2e523913cd1d19.tar.lz gsoc2013-epiphany-12f1826b5aeedeac6594337d8f2e523913cd1d19.tar.xz gsoc2013-epiphany-12f1826b5aeedeac6594337d8f2e523913cd1d19.tar.zst gsoc2013-epiphany-12f1826b5aeedeac6594337d8f2e523913cd1d19.zip |
Fix the build with 1.9b4.
svn path=/branches/gnome-2-22/; revision=8155
-rw-r--r-- | embed/mozilla/FilePicker.cpp | 5 |
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); |