gtk3: deprected api, unused variables