~vcs-imports/vala/trunk

Viewing all changes in revision 8945.

  • Committer: Rico Tzschichholz
  • Date: 2019-05-16 19:17:36 UTC
  • Revision ID: git-v1:a6441ec3c27e059d32501a4e09c937ac668f3ad9
vala: No-accessor struct properties in GLib.Object class must be owned

Real structs are returned as heap-allocated structor by g_object_get() and
not defining them with owned getter results in memory leaks.

Additionally force DelegateType, PointerType and ValueType as unowned to
preserve the current behaviour for binding generation.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: