ValueArray: Create copy when receiving pointer

The "ref" operation of GValueArray is a copy, so we don't have a
choice.
This commit is contained in:
Olivier Crête 2019-01-25 14:02:35 -05:00 committed by Harry
parent 9002cefe44
commit a7d3e85829

View file

@ -43,7 +43,7 @@ namespace GLib {
public ValueArray (IntPtr raw) public ValueArray (IntPtr raw)
{ {
handle = raw; handle = g_value_array_copy (raw);
} }
~ValueArray () ~ValueArray ()