Merge pull request #161 from Dadoum/patch-1

Fix Container.ForAll
This commit is contained in:
Harry 2020-05-18 20:22:21 +02:00 committed by GitHub
commit ede043d466
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,7 +100,7 @@ namespace Gtk
$"{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)
@ -153,4 +153,4 @@ namespace Gtk
}
}
}
}
}