mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-21 22:57:04 +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:
1 parent
75a0beffeb
commit
28e6bde782
2 files changed
+26
-22
No files matched your search
+1
-1
@@ -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