mono / gtk-sharp

Gtk# is a Mono/.NET binding to the cross platform Gtk+ GUI toolkit and the foundation of most GUI apps built with Mono
http://www.mono-project.com/GtkSharp
Other
428 stars 139 forks source link

[Gtk] fix leak on SizeRequest() method #261

Closed plprevost closed 5 years ago

plprevost commented 5 years ago

This fix is to prevent instanciating new Requisition struct each time SizeRequest() is called. Instead, we pass Requisition property inside gtk_widget_size_request native method.