mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 01:45:29 +00:00
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:
parent
9002cefe44
commit
a7d3e85829
|
@ -43,7 +43,7 @@ namespace GLib {
|
|||
|
||||
public ValueArray (IntPtr raw)
|
||||
{
|
||||
handle = raw;
|
||||
handle = g_value_array_copy (raw);
|
||||
}
|
||||
|
||||
~ValueArray ()
|
||||
|
|
Loading…
Reference in a new issue