gtk3: unused variables, deprecated api, incompatible pointers