fixed most of the errors (gtk deprecated) for application to build again