Merge pull request #126 from awittaker/combobox.entry-fix
Combobox.entry fix invalid cast exception
This commit is contained in:
commit
1a76bf56cb
2 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,10 +39,5 @@ namespace Gtk {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Gtk.Entry Entry {
|
|
||||||
get {
|
|
||||||
return (Gtk.Entry)Child;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue