diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_StrokeShader.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_StrokeShader.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_StrokeShader.cpp b/source/blender/freestyle/intern/python/BPy_StrokeShader.cpp index baeb8cc4994..993afc2e32e 100644 --- a/source/blender/freestyle/intern/python/BPy_StrokeShader.cpp +++ b/source/blender/freestyle/intern/python/BPy_StrokeShader.cpp @@ -273,11 +273,7 @@ static PyObject *StrokeShader_name_get(BPy_StrokeShader *self, void *UNUSED(clos } static PyGetSetDef BPy_StrokeShader_getseters[] = { - {(char *)"name", - (getter)StrokeShader_name_get, - (setter)NULL, - (char *)StrokeShader_name_doc, - NULL}, + {"name", (getter)StrokeShader_name_get, (setter)NULL, StrokeShader_name_doc, NULL}, {NULL, NULL, NULL, NULL, NULL} /* Sentinel */ }; |