svnno****@sourc*****
svnno****@sourc*****
Wed May 7 16:01:48 JST 2008
Revision: 3504 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3504 Author: ikezoe Date: 2008-05-07 16:01:48 +0900 (Wed, 07 May 2008) Log Message: ----------- 2008-05-07 Hiroyuki Ikezoe <poinc****@ikezo*****> * module/embed/gecko/kz-mozlauncher.cpp: Get directory name from the parent nsIFile. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/module/embed/gecko/kz-mozlauncher.cpp Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2008-03-29 08:20:49 UTC (rev 3503) +++ kazehakase/trunk/ChangeLog 2008-05-07 07:01:48 UTC (rev 3504) @@ -1,3 +1,8 @@ +2008-05-07 Hiroyuki Ikezoe <poinc****@ikezo*****> + + * module/embed/gecko/kz-mozlauncher.cpp: Get directory name from the + parent nsIFile. + 2008-03-29 Ryo SHIMIZU <furyo****@on-ai*****> * module/embed/webkit-gtk/Makefile.am: Modified: kazehakase/trunk/module/embed/gecko/kz-mozlauncher.cpp =================================================================== --- kazehakase/trunk/module/embed/gecko/kz-mozlauncher.cpp 2008-03-29 08:20:49 UTC (rev 3503) +++ kazehakase/trunk/module/embed/gecko/kz-mozlauncher.cpp 2008-05-07 07:01:48 UTC (rev 3504) @@ -120,11 +120,11 @@ { filePicker->GetFile(getter_AddRefs(saveFile)); - saveFile->GetNativePath(dirName); - nsCOMPtr<nsIFile> directory; rv = saveFile->GetParent(getter_AddRefs(directory)); + directory->GetNativePath(dirName); + NS_IF_ADDREF(*_retval = saveFile); return NS_OK;