[dia] PyDia: fix UMLClass::operations assignment
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] PyDia: fix UMLClass::operations assignment
- Date: Sat, 20 Jul 2013 22:25:34 +0000 (UTC)
commit b8f8a4a38fce972ab023974f70a2ed3e056de078
Author: Hans Breuer <hans breuer org>
Date: Sun Jun 30 16:14:40 2013 +0200
PyDia: fix UMLClass::operations assignment
The recent type change of comment fields in methods and attributes
led to broken scripts, because PROP_TYPE_MULTISTRING was not fully
supported. Now it is using the same setter as PROP_TYPE_STRING
ans is tested against pydiadoc.py
plug-ins/python/pydia-property.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/python/pydia-property.c b/plug-ins/python/pydia-property.c
index 04efbe4..01fa200 100644
--- a/plug-ins/python/pydia-property.c
+++ b/plug-ins/python/pydia-property.c
@@ -571,7 +571,7 @@ struct {
{ PROP_TYPE_STRING, PyDia_get_String, PyDia_set_String },
{ PROP_TYPE_STRINGLIST, PyDia_get_StringList },
{ PROP_TYPE_FILE, PyDia_get_String, PyDia_set_String },
- { PROP_TYPE_MULTISTRING, PyDia_get_String },
+ { PROP_TYPE_MULTISTRING, PyDia_get_String, PyDia_set_String },
{ PROP_TYPE_TEXT, PyDia_get_Text, PyDia_set_Text },
{ PROP_TYPE_POINT, PyDia_get_Point, PyDia_set_Point },
{ PROP_TYPE_POINTARRAY, PyDia_get_PointArray, PyDia_set_PointArray },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]