Fix wrong gtk3 function calls in gtk2