diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2020-11-20 21:26:50 -0800 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2020-11-22 15:10:14 -0800 |
commit | 068206950388a6820e120752263347595e358015 (patch) | |
tree | 483e55e72c488a5ea4cf108bcd3195e4ea7ea83f /tools | |
parent | 092157e16f3a098c0b7c99ebdd7de6a3daaad0c9 (diff) | |
download | gjs-068206950388a6820e120752263347595e358015.tar.gz |
tests: Use GObject weak pointer to track test object refcount
The GObject.ref_count field is private, who knew! It is still accessible
but apparently it messes up cppcheck, so we use GObject weak pointers
instead to track the reference count of these objects, as demonstrated in
https://stackoverflow.com/a/24459058/172999
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions