fix double free
gtk3: deprecated api, uninialized variables