touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #03932
[Bug 916783] Re: dee_serializable_serialize must return non-floating variant
** Changed in: unity (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/916783
Title:
dee_serializable_serialize must return non-floating variant
Status in Dee:
Fix Released
Status in Unity:
Fix Released
Status in “dee” package in Ubuntu:
Fix Released
Status in “unity” package in Ubuntu:
Fix Released
Bug description:
Currently the documentation for dee_serializable_serialize says that
the return value is a floating reference to a GVariant and it is also
used in this way in methods like dee_serializable_externalize, but
since the serialize method is virtual, we cannot make this assumption,
as implementors of DeeSerializable may just return a cached GVariant.
Although this is a subtle API-break, we should do it (ultimately this
change introduces "only" a memory leak, which is already there anyway
if they return non-floating reference).
To manage notifications about this bug go to:
https://bugs.launchpad.net/dee/+bug/916783/+subscriptions