Fix Container.ForAll
A SIGSEGV occurs without this change (Invalid pointer: 0x00 fix)
This commit is contained in:
parent
e2c2ab1cf5
commit
f8568ff821
1 changed files with 2 additions and 2 deletions
|
@ -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