gtk3: fix warnings