mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 12:58:08 +01:00
Don't save app settings proplist when nothing changed
Signed-off-by: Brad Jorsch <anomie@users.sourceforge.net>
This commit is contained in:
committed by
Carlos R. Mafra
parent
b5ed9841bc
commit
76eab97209
@@ -165,6 +165,8 @@ void wApplicationSaveIconPathFor(char *iconPath, char *wm_instance, char *wm_cla
|
|||||||
val = WMCreatePLString(iconPath);
|
val = WMCreatePLString(iconPath);
|
||||||
WMPutInPLDictionary(adict, iconk, val);
|
WMPutInPLDictionary(adict, iconk, val);
|
||||||
WMReleasePropList(val);
|
WMReleasePropList(val);
|
||||||
|
} else {
|
||||||
|
val = NULL;
|
||||||
}
|
}
|
||||||
WMReleasePropList(key);
|
WMReleasePropList(key);
|
||||||
WMReleasePropList(iconk);
|
WMReleasePropList(iconk);
|
||||||
|
|||||||
Reference in New Issue
Block a user