aboutsummaryrefslogtreecommitdiff
path: root/include/qom/qom-qobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qom/qom-qobject.h')
-rw-r--r--include/qom/qom-qobject.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/qom/qom-qobject.h b/include/qom/qom-qobject.h
index ad9a98dd62..73e4e0e474 100644
--- a/include/qom/qom-qobject.h
+++ b/include/qom/qom-qobject.h
@@ -33,8 +33,10 @@ struct QObject *object_property_get_qobject(Object *obj, const char *name,
* @errp: returns an error if this function fails
*
* Writes a property to a object.
+ *
+ * Returns: %true on success, %false on failure.
*/
-void object_property_set_qobject(Object *obj,
+bool object_property_set_qobject(Object *obj,
const char *name, struct QObject *value,
struct Error **errp);