gtk3: fix assert