1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-29 01:42:32 +01:00

simplify WMWritePropListToFile()

remove the choice of atomic/non-atomic writes. firstly, the only users
of non-atomic writes were getstyle and geticonset; secondly, who in their
right minds would ever want non-atomic writes; thirdly, the file system
will screw you anyway *G*.
This commit is contained in:
Tamas TEVESZ
2010-03-15 23:12:24 +01:00
committed by Carlos R. Mafra
parent 833128385f
commit badecc244b
15 changed files with 47 additions and 58 deletions

View File

@@ -1677,7 +1677,7 @@ static void storeData(_Panel * panel)
menu = buildPLFromMenu(panel);
WMWritePropListToFile(menu, panel->menuPath, True);
WMWritePropListToFile(menu, panel->menuPath);
WMReleasePropList(menu);
}