Fix the pointer types

Fallout from f5119db95aab7e97a30aca646833bcd72d4ba51f

Fixes: https://bugzilla.gnome.org/707006
Prepare 3.9.91