mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 01:15:35 +00:00
Merge pull request #126 from awittaker/combobox.entry-fix
Combobox.entry fix invalid cast exception
This commit is contained in:
commit
1a76bf56cb
|
@ -52,7 +52,7 @@ namespace Gtk {
|
|||
|
||||
public Gtk.Entry Entry {
|
||||
get {
|
||||
return (Gtk.Entry)Child;
|
||||
return Child as Gtk.Entry;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -39,10 +39,5 @@ namespace Gtk {
|
|||
}
|
||||
}
|
||||
|
||||
public Gtk.Entry Entry {
|
||||
get {
|
||||
return (Gtk.Entry)Child;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue