aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@src.gnome.org>2004-04-30 06:28:04 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-04-30 06:28:04 +0800
commitd6b013e758b63f5493e6986b86bc29d0b62c8d94 (patch)
treedd3085b97411049f4b11edf2f6bf508c39700b88
parent866493fd28c79cac4c207fd8af6058781db8f012 (diff)
downloadgsoc2013-epiphany-d6b013e758b63f5493e6986b86bc29d0b62c8d94.tar
gsoc2013-epiphany-d6b013e758b63f5493e6986b86bc29d0b62c8d94.tar.gz
gsoc2013-epiphany-d6b013e758b63f5493e6986b86bc29d0b62c8d94.tar.bz2
gsoc2013-epiphany-d6b013e758b63f5493e6986b86bc29d0b62c8d94.tar.lz
gsoc2013-epiphany-d6b013e758b63f5493e6986b86bc29d0b62c8d94.tar.xz
gsoc2013-epiphany-d6b013e758b63f5493e6986b86bc29d0b62c8d94.tar.zst
gsoc2013-epiphany-d6b013e758b63f5493e6986b86bc29d0b62c8d94.zip
*** empty log message ***
-rw-r--r--embed/mozilla/FilePicker.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp
index b65038c6e..91a893d2a 100644
--- a/embed/mozilla/FilePicker.cpp
+++ b/embed/mozilla/FilePicker.cpp
@@ -194,8 +194,8 @@ NS_IMETHODIMP GFilePicker::AppendFilters(PRInt32 filterMask)
if (filterMask & nsIFilePicker::filterImages)
{
#if MOZILLA_SNAPSHOT < 16
- AppendFilter (NS_ConvertUTF8toUTF16 (_("Image files")),
- NS_LITERAL_STRING ("*.png; *.gif; *.jpeg; *.jpg"));
+ AppendFilter (NS_ConvertUTF8toUTF16 (_("Image files")).get(),
+ NS_LITERAL_STRING ("*.png; *.gif; *.jpeg; *.jpg").get());
#else
AppendFilter (NS_ConvertUTF8toUTF16 (_("Image files")),
NS_LITERAL_STRING ("*.png; *.gif; *.jpeg; *.jpg"));
@@ -204,8 +204,8 @@ NS_IMETHODIMP GFilePicker::AppendFilters(PRInt32 filterMask)
if (filterMask & nsIFilePicker::filterXML)
{
#if MOZILLA_SNAPSHOT < 16
- AppendFilter (NS_ConvertUTF8toUTF16 (_("XML files")),
- NS_LITERAL_STRING ("*.xml"));
+ AppendFilter (NS_ConvertUTF8toUTF16 (_("XML files")).get(),
+ NS_LITERAL_STRING ("*.xml").get());
#else
AppendFilter (NS_ConvertUTF8toUTF16 (_("XML files")),
NS_LITERAL_STRING ("*.xml"));