fix warnings

gtk3: deprecated api
unused variables