Make people that want empty strings use EmptyC?String(). Bug 232691, patch by

Daniel Kraft <d@daniel-kraft.net>, r=jst, sr=bzbarsky
This commit is contained in:
bzbarsky@mit.edu
2005-01-04 19:31:31 +00:00
parent 49866ab816
commit 934266e347
18 changed files with 37 additions and 37 deletions

View File

@@ -539,7 +539,7 @@ nsGNOMEShellService::SetDesktopBackground(nsIDOMElement* aElement,
// (since we could be writing a new image on top of an existing
// Firefox_wallpaper.png and nautilus doesn't monitor the file for changes)
gconf->SetString(NS_LITERAL_CSTRING(kDesktopImageKey),
NS_LITERAL_CSTRING(""));
EmptyCString());
gconf->SetString(NS_LITERAL_CSTRING(kDesktopImageKey), filePath);
gconf->SetBool(NS_LITERAL_CSTRING(kDesktopDrawBGKey), PR_TRUE);