cast GtkEntry properly