mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-04 04:44:16 +01:00
WINGs: Added 'const' attribute to 'WMCreatePropListFromDescription'
To be able to do this in a clean way, it was necessary to add the attribute also in PLData's ptr field, which is actually right because none of the function changes its content. The function that fills it from a file/pipe however needed small changes to respect the const-ness of the field.
This commit is contained in:
committed by
Carlos R. Mafra
parent
75a0beffeb
commit
28e6bde782
@@ -802,7 +802,7 @@ WMPropList* WMShallowCopyPropList(WMPropList *plist);
|
||||
/* Makes a completely separate replica of the original proplist */
|
||||
WMPropList* WMDeepCopyPropList(WMPropList *plist);
|
||||
|
||||
WMPropList* WMCreatePropListFromDescription(char *desc);
|
||||
WMPropList* WMCreatePropListFromDescription(const char *desc);
|
||||
|
||||
/* Free the returned string when you no longer need it */
|
||||
char* WMGetPropListDescription(WMPropList *plist, Bool indented);
|
||||
|
||||
Reference in New Issue
Block a user