Prevent InvalidCastException in Combobox.Entry

This commit is contained in:
awittaker 2020-01-07 18:18:00 +00:00
parent 76cbe40848
commit b070b77fe0

View file

@ -52,7 +52,7 @@ namespace Gtk {
public Gtk.Entry Entry { public Gtk.Entry Entry {
get { get {
return (Gtk.Entry)Child; return Child as Gtk.Entry;
} }
} }