Reverted previous TGtkApplication change.
Fixed runtime warning about cast for Adjustment