Update most deprecated gdk functions