aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-05-17 16:05:14 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:15:23 -0300
commit4b4d0a0429987be5aa8373c73447bf37b5b9bbeb (patch)
treecd9538e3aff5f7c7fee04976e872a9d6803d7dbf /libshiboken
parent13bbf1c4e8341a44f372f7dde08cbd7a66815cb9 (diff)
Defined Shiboken.ObjectType tp_setattro to PyObject_GenericSetAttr.
This fixes bug 634. http://bugs.pyside.org/show_bug.cgi?id=634 Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'libshiboken')
-rw-r--r--libshiboken/basewrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp
index f1165d911..3d65071da 100644
--- a/libshiboken/basewrapper.cpp
+++ b/libshiboken/basewrapper.cpp
@@ -57,7 +57,7 @@ PyTypeObject SbkObjectType_Type = {
/*tp_call*/ 0,
/*tp_str*/ 0,
/*tp_getattro*/ 0,
- /*tp_setattro*/ 0,
+ /*tp_setattro*/ PyObject_GenericSetAttr,
/*tp_as_buffer*/ 0,
/*tp_flags*/ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE,
/*tp_doc*/ 0,