mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 05:55:31 +00:00
Fix Container.ForAll
A SIGSEGV occurs without this change (Invalid pointer: 0x00 fix)
This commit is contained in:
parent
e2c2ab1cf5
commit
f8568ff821
|
@ -100,7 +100,7 @@ namespace Gtk
|
||||||
$"{nameof(ForAll)} can only be called as \"base.{nameof(ForAll)}()\". Use {nameof(Forall)}() or {nameof(Foreach)}().");
|
$"{nameof(ForAll)} can only be called as \"base.{nameof(ForAll)}()\". Use {nameof(Forall)}() or {nameof(Foreach)}().");
|
||||||
}
|
}
|
||||||
|
|
||||||
gtksharp_container_base_forall(Handle, include_internals, callback, IntPtr.Zero);
|
gtksharp_container_base_forall(Handle, include_internals, callback, ((ForAllCallbackHandler) callback.Target).data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static ForAllNativeDelegate InternalForAllNativeDelegate(GLib.GType gtype)
|
static ForAllNativeDelegate InternalForAllNativeDelegate(GLib.GType gtype)
|
||||||
|
|
Loading…
Reference in a new issue