Non-const char pointers in struct _GimpParamDef
Submitted by bauke
Link to original bug (#721010)
Description
The struct _GimpParamDef should be defined as: struct _GimpParamDef { GimpPDBArgType type; const gchar *name; const gchar *description; };
Currently, name and description are not defined as const, which gives the following compiler warning when used in C++: warning: deprecated conversion from string constant to ‘gchar* {aka char*}’ [-Wwrite-strings]
Version: 2.8.6