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