Merge pull request #126 from awittaker/combobox.entry-fix

Combobox.entry fix invalid cast exception
This commit is contained in:
Harry 2020-01-08 07:34:06 +01:00 committed by GitHub
commit 1a76bf56cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

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;
} }
} }

View file

@ -39,10 +39,5 @@ namespace Gtk {
} }
} }
public Gtk.Entry Entry {
get {
return (Gtk.Entry)Child;
}
}
} }
} }